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)