Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pan3793
Copy link
Member

@pan3793 pan3793 commented Nov 28, 2024

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

Was this patch authored or co-authored using generative AI tooling?

No.

}
} catch (Exception e) {
throw new KyuubiSQLException("Cannot convert column " + columnIndex + " to date: " + e, e);
Copy link
Member Author

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!

@pan3793 pan3793 self-assigned this Nov 28, 2024
@pan3793 pan3793 added this to the v1.9.3 milestone Nov 28, 2024
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 96 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (2ab2789) to head (b6e03a6).

Files with missing lines Patch % Lines
...g/apache/kyuubi/jdbc/hive/KyuubiBaseResultSet.java 0.00% 96 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants