jiangML opened a new issue, #18680:
URL: https://github.com/apache/shardingsphere/issues/18680

   ## Bug Report
   ### Which version of ShardingSphere did you use?
    master
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
    OracleParserStatementExample in the example 
   ### Expected behavior
   run successfully
   ### Actual behavior
   ```
   Exception in thread "main" 
org.apache.shardingsphere.sql.parser.exception.SQLParsingException: You have an 
error in your SQL syntax
        at 
org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserExecutor.twoPhaseParse(SQLParserExecutor.java:65)
        at 
org.apache.shardingsphere.sql.parser.core.database.parser.SQLParserExecutor.parse(SQLParserExecutor.java:46)
        at 
org.apache.shardingsphere.sql.parser.api.SQLParserEngine.parse(SQLParserEngine.java:47)
        at 
org.apache.shardingsphere.example.parser.oracle.statement.OracleParserStatementExample.lambda$main$0(OracleParserStatementExample.java:58)
        at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
        at 
org.apache.shardingsphere.example.parser.oracle.statement.OracleParserStatementExample.main(OracleParserStatementExample.java:55)
   ```
   
   ### Reason analyze (If you can)
   Question statement: "SELECT t.id, t.name, t.age FROM table1 AS t ORDER BY 
t.id DESC;"
   Oracle table alias does not support "AS"
   ### 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