You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Fabian Hueske (Jira)" <ji...@apache.org> on 2020/02/14 16:04:00 UTC

[jira] [Created] (FLINK-16067) Flink's CalciteParser swallows error position information

Fabian Hueske created FLINK-16067:
-------------------------------------

             Summary: Flink's CalciteParser swallows error position information
                 Key: FLINK-16067
                 URL: https://issues.apache.org/jira/browse/FLINK-16067
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.10.0
            Reporter: Fabian Hueske


The parser used to parse SQL queries submitted through {{TableEnvironmentImpl.sqlUpdate}} does not add the original exception from Calcite as a cause to Flink's {{org.apache.flink.table.api.SqlParserException}}. 

However, Calcite's exception contains the position in the SQL query where the parser failed.
This info would help users to fix their queries.

This used to work with Flink 1.9.x.

CC [~dwysakowicz]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)