Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
STATEMENT is a reserved keyword now. Use backticks to escape tables, fields and other references.
Description
When building flink-sql-parser, the javacc logs a couple of warnings:
Warning: Choice conflict in [...] construct at line 2920, column 5. Expansion nested within construct and expansion following construct have common prefixes, one of which is: "PLAN" Consider using a lookahead of 2 or more for nested expansion. Warning: Choice conflict involving two expansions at line 2930, column 9 and line 2932, column 9 respectively. A common prefix is: "STATEMENT" Consider using a lookahead of 2 for earlier expansion. Warning: Choice conflict involving two expansions at line 2952, column 9 and line 2954, column 9 respectively. A common prefix is: "STATEMENT" Consider using a lookahead of 2 for earlier expansion.
We should investigate them, as they're often symptom of some bug in our parser template, which might result in unexpected parsing errors.
Attachments
Issue Links
- links to