Linkis helps easily connect to various back-end computation/storage engines(Spark, Python, TiDB...), exposes various interfaces(REST, JDBC, Java ...), with multi-tenancy, high performance, and resource control.
Q1. Perhaps the exception was not properly captured and processed, and the default exception handler was used. The processing logic of the default exception handler may not meet our expected results.
The format of the response result is as follows, which does not comply with the system's return data format
可能异常没有被正常捕获处理,走了默认的异常处理器,默认的异常处理器的处理逻辑可能并不符合我们预期的结果
响应结果格式如下,不符合系统返回数据格式
{"timestamp":"2020-11-20T05:15:00.532+00:00","path":"/body","status":500,"error":"Internal Server Error","message":"","requestId":"86ade4a8-2"}
期望:
{"timestamp":1686706712465,"path":"/api/rest_j/v1/data-source-manager/type/all","status":500,"error":"Internal Server Error","message":"","requestId":"3b64516f-1"}