Sergey Nuyanzin created FLINK-24908:
---------------------------------------
Summary: 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
Reporter: Sergey Nuyanzin
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.1#820001)