-
Notifications
You must be signed in to change notification settings - Fork 618
Closed
Description
In order to completely address SQL parsing issues, let's reuse the same antlr4 grammar(Lexer & Parser) from ClickHouse server.
Related bugs: #479, #528, #533
Update:
ANTLR is overkill and it will introduce 300KB runtime, which is the opposite of what we need(reducing dependencies). As a result, we'll need to implement a simplified parser which is able recognize case-insensitive keywords, and understand if the given query contains multiple statements and type of each statement(DDL or DML, query or mutation etc.).