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

[SPARK-49892][SQL] Assign proper error class for _LEGACY_ERROR_TEMP_1136 #48367

Closed
wants to merge 9 commits into from

Conversation

itholic
Copy link
Contributor

@itholic itholic commented Oct 7, 2024

What changes were proposed in this pull request?

This PR proposes to assign proper error condition for _LEGACY_ERROR_TEMP_1136

Why are the changes needed?

Currently we don't have proper error condition and SQLSTATE when user try saving interval data type into external storage

Does this PR introduce any user-facing change?

No, only user-facing error message improved

How was this patch tested?

Updated the existing tests

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

No

@itholic itholic changed the title [SPARK-49891][SQL] Assign proper error class for _LEGACY_ERROR_TEMP_1136 [SPARK-49892][SQL] Assign proper error class for _LEGACY_ERROR_TEMP_1136 Oct 7, 2024
Copy link
Member

@MaxGekk MaxGekk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM except of a comment.

@MaxGekk
Copy link
Member

MaxGekk commented Oct 14, 2024

+1, LGTM. Merging to master.
Thank you, @itholic.

@MaxGekk MaxGekk closed this in 560748c Oct 14, 2024
@itholic
Copy link
Contributor Author

itholic commented Oct 14, 2024

Thanks @MaxGekk for the review!

himadripal pushed a commit to himadripal/spark that referenced this pull request Oct 19, 2024
### What changes were proposed in this pull request?

This PR proposes to assign proper error condition for _LEGACY_ERROR_TEMP_1136

### Why are the changes needed?

Currently we don't have proper error condition and SQLSTATE when user try saving interval data type into external storage

### Does this PR introduce _any_ user-facing change?

No, only user-facing error message improved

### How was this patch tested?

Updated the existing tests

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

No

Closes apache#48367 from itholic/LEGACY_1136.

Authored-by: Haejoon Lee <haejoon.lee@databricks.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
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