You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Francesco Guardiani (Jira)" <ji...@apache.org> on 2022/02/09 12:26:00 UTC
[jira] [Created] (FLINK-26053) Fix parser generator warnings
Francesco Guardiani created FLINK-26053:
-------------------------------------------
Summary: Fix parser generator warnings
Key: FLINK-26053
URL: https://issues.apache.org/jira/browse/FLINK-26053
Project: Flink
Issue Type: Bug
Components: Table SQL / API
Reporter: Francesco Guardiani
When building flink-sql-parser, the javacc logs a couple of warnings:
{code}
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.
{code}
Took from https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=30871&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=3911
We should investigate them, as they're often symptom of some bug in our parser template, which might result in unexpected parsing errors.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)