Apache Kyuubi is a distributed and multi-tenant gateway to provide serverless SQL on data warehouses and lakehouses.
2.07k
stars
902
forks
source link
[Umbrella] Support SQLSTATE and venderCode in KyuubiSQLException #670
Open
yaooqinn opened 3 years ago
1. Describe the feature
https://www.postgresql.org/docs/12/errcodes-appendix.html https://docs.oracle.com/cd/E15817_01/appdev.111/b31228/appd.htm https://www.ibm.com/docs/en/db2-for-zos/11?topic=codes-sqlstate-values-common-error https://en.wikipedia.org/wiki/SQLSTATE https://wiki.midrange.com/index.php/SQLSTATE_Codes https://docs.teradata.com/r/CeAGk~BNtx~axcR0ed~5kw/TONkXZQG19hcmPLSw~O36w
2. Motivation
3. Describe the solution
We can make KyuubiSQLException inherit
public SQLException(String reason, String sqlState, int vendorCode, Throwable cause)
first.4. Additional context