You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "yuzelin (Jira)" <ji...@apache.org> on 2022/11/09 04:21:00 UTC

[jira] [Created] (FLINK-29946) Introduce ‘ErrorDetail’ in SQL Gateway Rest Endpoint for error handling

yuzelin created FLINK-29946:
-------------------------------

             Summary: Introduce ‘ErrorDetail’ in SQL Gateway Rest Endpoint for error handling
                 Key: FLINK-29946
                 URL: https://issues.apache.org/jira/browse/FLINK-29946
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / Client, Table SQL / Gateway
    Affects Versions: 1.17.0
            Reporter: yuzelin


In embedded mode of SQL Client, the exception can be caught by the client finally, but in remote mode, all message return should be serialized and deserialized by REST API. Currently, the Gateway endpoint only returns the exception stack as List<String> when exceptions are thrown. It’s hard for Client to get more useful information. So it's necessary to introduce an 'ErrorDetail' to provide more information.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)