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 2021/03/08 09:08:25 UTC

[GitHub] [shardingsphere] jingshanglu commented on pull request #9603: [SQL Definition Collation][Oracle]Collate the SQL definition of SET ROLE

jingshanglu commented on pull request #9603:
URL: https://github.com/apache/shardingsphere/pull/9603#issuecomment-792601228


   > > It would best if you should consider the guidelines for securing passwords. The password could contain many kinds of special characters. @Liangda-w
   > 
   > okay, I will consider it, thank you :) @wgy8283335
   > 
   > > Should add some tests in 'dcl/set-role.xml' of the module 'shardingsphere-sql-parser-test.'
   > 
   > I tried to add a sql case. oriented on other examples and added/modified relevant files, but facing a SQLParsingexception for the new added sql test case with `set-role`. I'm not not sure what exact the problem is here, could you please help me with it?
   > 
   > ```
   > org.apache.shardingsphere.sql.parser.exception.SQLParsingException: You have an error in your SQL syntax
   > 
   > 	at org.apache.shardingsphere.sql.parser.core.parser.SQLParserExecutor.twoPhaseParse(SQLParserExecutor.java:63)
   > 	at org.apache.shardingsphere.sql.parser.core.parser.SQLParserExecutor.parse(SQLParserExecutor.java:45)
   > 	at org.apache.shardingsphere.sql.parser.api.SQLParserEngine.parse(SQLParserEngine.java:51)
   > 	at org.apache.shardingsphere.test.sql.parser.parameterized.engine.SQLParserParameterizedTest.parseSQLStatement(SQLParserParameterizedTest.java:88)
   > 	at org.apache.shardingsphere.test.sql.parser.parameterized.engine.SQLParserParameterizedTest.assertSupportedSQL(SQLParserParameterizedTest.java:83)
   > ```
   
   @Liangda-w The SQL of your case can not be parsed by parser, maybe the error of `g4` file.


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