Class SqlCommandParserImpl

  • All Implemented Interfaces:
    SqlCommandParser

    public class SqlCommandParserImpl
    extends Object
    implements SqlCommandParser
    The SqlCommandParserImpl uses FlinkSqlParserImplTokenManager to do lexical analysis. It cannot recognize special hive keywords yet because Hive has a slightly different vocabulary compared to Flink's, which causes the SqlCommandParserImpl misunderstanding some Hive's keywords to IDENTIFIER. But the ClientParser is only responsible to check whether the statement is completed or not and only cares about a few statements. So it's acceptable to tolerate the inaccuracy here.