[
https://issues.apache.org/jira/browse/FLINK-24908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132280#comment-18132280
]
Martijn Visser edited comment on FLINK-24908 at 10/26/26, 9:45 AM:
-------------------------------------------------------------------
Also added:
[FLINK-24908][sql-client] Print the outermost exception that ends with the root
cause
master: 527e676d137301f5b0d10ee9fec895fb9fa2f43e
release-2.4: 3afa4648d083fe1f3158a7a02c0e8fb0e3ca6690
was (Author: martijnvisser):
Also added:
[FLINK-24908][sql-client] Print the outermost exception that ends with the root
cause 527e676d137301f5b0d10ee9fec895fb9fa2f43e
> 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
(v10.3.26#10030026)