You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2021/11/15 22:58:00 UTC
[jira] [Created] (FLINK-24908) Improve SQL Error description for SQL Client
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)