Replies: 2 comments 2 replies
-
Yes, the https://github.com/antlr/grammars-v4/tree/master/sql/mysql/Positive-Technologies grammar shouldn't contain other sql. It should be only a MySql grammar. So yes,clean up what you can. The other MySql grammar https://github.com/antlr/grammars-v4/tree/master/sql/mysql/Oracle is the official Oracle grammar modified to be target agnostic. So it makes sense to not modify that any further than what Oracle provides. I am planning to add ports for the rest of the targets to that. Then, the plan is to generate the target agnostic grammar directly from the grammar in the Oracle github repo, which is written for Antlr4ng TypeScript. I'll be starting that work in a few days. |
Beta Was this translation helpful? Give feedback.
-
Hi @kaby76, the CI checks in ANTLR grammar have a check step for formatting the grammar using antlr-format tool but throws a warning if the grammars are not in the right format. Is that intentional and do you format it periodically rather than formatting it with each PR? |
Beta Was this translation helpful? Give feedback.
-
Hi team,
I am working on aligning the formatting changes done using the
antlr-format-cli
in #3843 in the Debezium DDL module. While doing so we are also planning to remove MariaDB-specific grammar from MySQL as we now have a separate MariaDB module that has been pulled from the ANTLR4 grammar for MariaDB.But I see there is still some MariaDB-specific grammar in the MySQL grammar. Do you have any plans to remove them or clean up the grammar overall? Thanks.
cc: @jpechane
Beta Was this translation helpful? Give feedback.
All reactions