Yash-cor commented on issue #34890:
URL: 
https://github.com/apache/shardingsphere/issues/34890#issuecomment-2701001774

   > Hi [@Yash-cor](https://github.com/Yash-cor), thank you for your feedback. 
Although the MySQL documentation describes this, there are some hidden 
features. For example `select table.id , table.condition from table where 
table.type=?` in 
[#32283](https://github.com/apache/shardingsphere/issues/32283), `condition` is 
a reserved word, but it is legal in this SQL.
   > 
   > At present, we have not fully understood how many hidden scenarios MySQL 
has, so ShardingSphere SQL Parser maintains as loose rules as possible, that 
is, it allows the use of reserved words as identifiers, so that no errors will 
be reported during parsing. If MySQL does not support this writing method, a 
parsing exception will be thrown during SQL execution.
   > 
   > If you are interested in this question, I think you can read the parsing 
in the MySQL source code and maybe find some clear rules.
   
   Ok I will give it a try then, thanks for the response


-- 
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: notifications-unsubscr...@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to