cilfm commented on issue #10126:
URL: 
https://github.com/apache/shardingsphere/issues/10126#issuecomment-823955737


   @tristaZero 
   I found that the databaseType parameter initialized in class 
org.apache.shardingsphere.sql.parser.api.SQLParserEngine is SQL92, not SQL 
server, so it use 
org.apache.shardingsphere.sql.parser.sql92.visitor.statement.impl.SQL92StatementSQLVisitor,not
 
org.apache.shardingsphere.sql.parser.sqlserver.visitor.statement.impl.SQLServerStatementSQLVisitor.
   I think mybe use SQLServerStatementSQLVisitor it will be right.
   I also git the master code from github,it have the same error,only somebody 
change the exception message to "You have an error in your SQL syntax" in 
org.apache.shardingsphere.sql.parser.core.parser.twoPhaseParse function,
   can you tell me how to change the SqlParser?


-- 
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:
us...@infra.apache.org


Reply via email to