You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Martijn Visser (Jira)" <ji...@apache.org> on 2026/10/19 13:00:00 UTC
[jira] [Resolved] (FLINK-24908) Improve SQL Error description for SQL Client
[ https://issues.apache.org/jira/browse/FLINK-24908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser resolved FLINK-24908.
------------------------------------
Fix Version/s: 2.4.0
Resolution: Fixed
Fixed in apache/flink:master e64938456a590f47ad0e09aaefd1addbbbfd8755
> Improve SQL Error description for SQL Client
> --------------------------------------------
>
> Key: FLINK-24908
> URL: https://issues.apache.org/jira/browse/FLINK-24908
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Client
> Reporter: Sergey Nuyanzin
> Assignee: Martijn Visser
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.4.0
>
>
> For instance for misprint like
> {code:sql}
> ELECT 1;
> {code}
> The error looks like
> {noformat}
> ELECT 1;
> [ERROR] Could not execute SQL statement. Reason:
> org.apache.calcite.runtime.CalciteException: Non-query expression encountered in illegal context
> {noformat}
> At the same time ParseException wrapped by CalciteException contains position of a problem word
--
This message was sent by Atlassian Jira
(v8.20.10#820010)