-
Notifications
You must be signed in to change notification settings - Fork 917
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up and improve error message for KyuubiBaseResultSet #6828
Conversation
} | ||
} catch (Exception e) { | ||
throw new KyuubiSQLException("Cannot convert column " + columnIndex + " to date: " + e, e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's horrible that the previously reported error message does not contain the illegal data!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6828 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 687 687
Lines 42439 42439
Branches 5791 5792 +1
======================================
Misses 42439 42439 ☔ View full report in Codecov by Sentry. |
scala 2.13 test failure is irrelevant |
…tSet ### Why are the changes needed? Backport apache/hive@2b0e424 The commit does not have a Hive ticket. ### How was this patch tested? Pass GHA to ensure it breaks nothing, and verify locally that the reported error message does contain the data when failing to parse the illegal date. ![image](https://github.com/user-attachments/assets/ba210160-c9cb-4539-8b28-0f445b6ce9a5) ### Was this patch authored or co-authored using generative AI tooling? No. Closes #6828 from pan3793/hive-jdbc-2b0e424. Closes #6828 b6e03a6 [Cheng Pan] KyuubiSQLException 63861af [Cheng Pan] Backport Hive 2b0e424 - Clean up and improve error message for KyuubiBaseResultSet Authored-by: Cheng Pan <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 68a6f48) Signed-off-by: Cheng Pan <[email protected]>
…tSet ### Why are the changes needed? Backport apache/hive@2b0e424 The commit does not have a Hive ticket. ### How was this patch tested? Pass GHA to ensure it breaks nothing, and verify locally that the reported error message does contain the data when failing to parse the illegal date. ![image](https://github.com/user-attachments/assets/ba210160-c9cb-4539-8b28-0f445b6ce9a5) ### Was this patch authored or co-authored using generative AI tooling? No. Closes #6828 from pan3793/hive-jdbc-2b0e424. Closes #6828 b6e03a6 [Cheng Pan] KyuubiSQLException 63861af [Cheng Pan] Backport Hive 2b0e424 - Clean up and improve error message for KyuubiBaseResultSet Authored-by: Cheng Pan <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 68a6f48) Signed-off-by: Cheng Pan <[email protected]>
Thanks, merged to master/1.10.1/1.9.3 |
👍 |
Why are the changes needed?
Backport apache/hive@2b0e424
The commit does not have a Hive ticket.
How was this patch tested?
Pass GHA to ensure it breaks nothing, and verify locally that the reported error message does contain the data when failing to parse the illegal date.
Was this patch authored or co-authored using generative AI tooling?
No.