[Umbrella] Support SQLSTATE and venderCode in KyuubiSQLException
Open
- Dominant language
- Scala
- Stars
- 2.4k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
### 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
- [x] #728
- [ ] #729
Contributor guide
Assessment
This issue has not been assessed yet.