pk-218 commented on issue #15746:
URL: 
https://github.com/apache/shardingsphere/issues/15746#issuecomment-1065858676


   I am encountering the following error
   
   
![image](https://user-images.githubusercontent.com/53428217/158014283-d0d90c86-06aa-450e-9112-c3e0a0d65035.png)
   
   ```
   error(110): 
/shardingsphere/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen/PostgreSQLStatementLexer.g4:20:7:
 can't find or load grammar ModeLexer
   ```
   
   The ANTLR plugin is unable to detect the `ModeLexer.g4` import from 
`src/main/antlr4/imports/postgresql` to 
`src/main/antlr4/org/apache/shardingsphere/sql/parser/autogen` for the 
`PostgreSQLStatementLexer` grammar.
   
   The same issue arises for `PostgreSQLStatementParser.g4` where 
`TCLStatement`, `DCLStatement`, `DALStatement`, `StoreProcedure` grammars are 
not detected.
   


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