question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[ShardingSphere-Proxy] Missing return field

See original GitHub issue

Bug Report

select VERSION(), @@sql_mode;

Which version of ShardingSphere did you use?

ShardingSphere-Proxy 5.1.2

Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?

ShardingSphere-Proxy 5.1.2

Expected behavior

| 5.7.34 | ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

Actual behavior

Only return the first field value: 5.7.34-ShardingSphere-Proxy 5.1.2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

0reactions
xuupcommented, Jul 27, 2022

Hi @xuup Welcome. Do you have any idea about this?

Hi, I hava two thoughts on this issue.

  1. redirect request to real database for execution, and get response from database.
  2. @@sql_mode represent mode of database as mysql,
ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

represent some modes supported by the database. I think the mode should be provided by ShardingSphere-Proxy better than database . So, Is it necessary to add the mode configuration supported by ShardingSphere ? I wonder what you think about that。

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apache ShardingSphere document
The project is committed to providing a multi‐source heterogeneous, enhanced database platform and further building an ecosystem around the upper layer of ...
Read more >
ShardingSphere-Proxy Unable to work with apache flink cdc ...
ShardingSphere is missing the information_schema database which provider the metadata information of the instance databases,may be that's ...
Read more >
Create Your Distributed Database on Kubernetes with Existing ...
ShardingSphere -Proxy is a transparent database proxy that acts as a MySQL or PostgreSQL database server while supporting sharding databases, ...
Read more >
Apache ShardingSphere Enterprise Applications - Bilibili
Q: Can ShardingSphere converge the connection number? A: ShardingSphere-Proxy can converge the connection number, but it will definitely lead to performance ...
Read more >
Cloud native deployment for a high-performance data ...
ShardingSphere -Proxy provides Docker images for deployment in containers. ... by back-end databases allows engineers to access all back-end ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found