Open TeslaCN opened 2 years ago
@TeslaCN Thank you for your feedback, I will investigate this issue.
Currently, SQL comments are added to the hidden channel during the lexical parsing phase, not the AST. That is, the SQL we parsed is an empty string.
Considering that there are many extended syntaxes supported in MySQL comment, we will consider supporting parsing of these SQLs.
Hello , this issue has not received a reply for several days. This issue is supposed to be closed.
Bug Report
Which version of ShardingSphere did you use?
master - 280415ac7c89e5bc4f9829ef1b96a31e917910c6
Expected behavior
SQL in the block could be parsed into AST.
Refer to https://dev.mysql.com/doc/refman/5.7/en/comments.html
Actual behavior
Unsupported.