[ https://issues.apache.org/jira/browse/FLINK-24908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-24908: ----------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Major > Labels: pull-request-available > > 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)