Closed qingdaoheze closed 3 months ago
@qingdaoheze What database protocol are you using? MySQL or PostgreSQL or someone else?
mariadb
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>2.5.4</version>
</dependency>
The SQL parser is improved in each version, please test the latest version.
Bug Report
For English only, other languages will not accept.
Before report a bug, make sure you have:
Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Which version of ShardingSphere did you use?
5.1.1
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
Expected behavior
Parsing SQL successfully
Actual behavior
Parsing SQL error
Reason analyze (If you can)
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
I can use the generated query below to execute on sql client successfully. Preparing:
Sharding config:
This is the error raised.
Example codes for reproduce this issue (such as a github link).