[ 
https://issues.apache.org/jira/browse/FLINK-16217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056790#comment-17056790
 ] 

godfrey he commented on FLINK-16217:
------------------------------------

It was an unpleasant experience. When I try to reproduce the exception reported 
in [FLINK-16539|https://issues.apache.org/jira/browse/FLINK-16539], sql client 
is also crashed. The exception is from descriptor validation in sql client. 
It's hard to define which exceptions we should catch, so I think we should 
catch all exceptions not only from the planner. 

> SQL Client crashed when any uncatched exception is thrown
> ---------------------------------------------------------
>
>                 Key: FLINK-16217
>                 URL: https://issues.apache.org/jira/browse/FLINK-16217
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>    Affects Versions: 1.10.0
>            Reporter: Jark Wu
>            Priority: Major
>             Fix For: 1.10.1, 1.11.0
>
>         Attachments: 15821324825831.jpg
>
>
> Currently, SQL CLI doesn't catch all the exceptions, for example, Calcite 
> exceptions. 
> We should catch any possible exceptions thrown by the planner, and print the 
> root cause. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to