Replies: 2 comments 1 reply
|
There are several ways to parse and modify the sql. But first, you will need a SQL grammar. Go to https://github.com/antlr/grammars-v4/tree/master/sql and pick one of the grammars. Then, choose one or the other:
|
1 reply
|
it's easy to modify the table name in antlr ParserTree, while you are using the ParserBaseListener or SqlParser which generated by antlr. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
There are some needs to modify sql at work. example:
replace the table name in sql.
All reactions