You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/02/25 10:56:15 UTC

[GitHub] [incubator-shardingsphere] tristaZero commented on issue #4371: Sharding-JDBC SQL shard loss parameter

tristaZero commented on issue #4371: Sharding-JDBC SQL shard loss parameter
URL: https://github.com/apache/incubator-shardingsphere/issues/4371#issuecomment-590808629
 
 
   Hi @techzhou i appreciated your debug action. You know, help comes behind self-help. :)
   
   Your SQL and Sharding rule is simple and has been covered by our integrated tests, so i have no idea at the first glance. Could you debug it deep to help solve this issue?
   
   Looking at the error log below, i speculated the cause is `bad parsing of SQL`.
   ```
   org.apache.shardingsphere.sql.parser.core.extractor.impl.common.column.ColumnExtractor.getColumnSegment(ColumnExtractor.java:45) 
   ```
   Sharding Parser can not extract corresponding columns, so could you make a break point at line 45 of ColumnExtractor.java or `sout` the value of `columnNode`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services