strongduanmu opened a new issue #13759:
URL: https://github.com/apache/shardingsphere/issues/13759


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   master branch
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   select statement parse successfully
   
   ```sql
   SELECT t1.id, track_id, title, intro, rank, h5_query_link, status, 
created_at, updated_at, operator, is_delete from tb_discovery_weibo_news_track 
t1 WHERE  is_delete = 0 and status in ( 0 , 10 , 11 )
   ```
   
   ### Actual behavior
   
   
![image](https://user-images.githubusercontent.com/10829171/143030879-984ca62a-2433-44ce-bb29-1630d22002ca.png)
   
   ### Reason analyze (If you can)
   
   
![image](https://user-images.githubusercontent.com/10829171/143031027-25768324-dd80-40ab-b074-b58921a0ad90.png)
   
   `rank` is a new keyword added in mysql 8.x version, which caused this sql 
parsing error. @tuichenchuxin Should we consider a comprehensive investigation 
of the parsing anomalies caused by keywords?
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to