The following DBSQL error categories will be exposed to clients:
RequestError
ExecutionError
SystemFault
The standard Databricks error expose fields err, corrId, connId. ExecutionError will also expose sqlState, queryId, and errClass. SystemFault will also expose isRetryable.
Remaining work
compare errors with JDBC/ODBC
investigate returned headers to provide granularity around errors (particularly SystemFault)
warehouses vs clusters have slightly different errors
Issue
68
This is a rebased and cleaned-up version of https://github.com/databricks/databricks-sql-go/pull/93
Plan
The following DBSQL error categories will be exposed to clients: RequestError ExecutionError SystemFault
The standard Databricks error expose fields err, corrId, connId. ExecutionError will also expose sqlState, queryId, and errClass. SystemFault will also expose isRetryable.
Remaining work