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)