yuqi1129 opened a new pull request, #13537: URL: https://github.com/apache/gravitino/pull/13537
### What changes were proposed in this pull request? Map Doris JDBC error code 1109 (`ERR_UNKNOWN_TABLE`) to `NoSuchTableException`. Add regression tests for exception conversion and DROP returning `false` with codes 1051, 1105, and 1109. ### Why are the changes needed? The previous fix only parses missing-table messages for code 1105. Newer Doris versions preserve code 1109, which falls through to a generic runtime exception and makes dropping a missing table return HTTP 500. Fix: #13343 ### Does this PR introduce _any_ user-facing change? Dropping a missing Doris table also returns HTTP 200 with `dropped:false` when the backend reports code 1109. ### How was this patch tested? - Confirmed the new converter regression fails for code 1109 before the fix. - `./gradlew spotlessApply -PskipWeb=true` - `./gradlew :catalogs:catalog-jdbc-doris:test -PskipITs -PskipDockerTests=true -PskipWeb=true` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
