Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[frontend] Advance the 'AND' rule in the definition of 'between' synt…
…ax for Hive and Presto (#3561) * fix: SQL parser: Move the '<between> AND' rule in the lexical definitions of Hive and Presto ahead of the 'AND' rule to avoid auto-completion errors in cases like "where x between 'a' and 'b' a". The keyword 'AND' with state 'between' is treated as a normal 'AND'. Other SQL syntax such as Flink, SQL, etc. are correct. * [frontend] Supplementing test cases for keyword completion of the SQL 'between and' statement. --------- Co-authored-by: fangguiliang <[email protected]>
- Loading branch information