-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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-37149][SQL] Improve error messages for arithmetic overflow exceptions under ANSI mode #34427
[SPARK-37149][SQL] Improve error messages for arithmetic overflow exceptions under ANSI mode #34427
Conversation
Kubernetes integration test starting |
Kubernetes integration test status failure |
Test build #144723 has finished for PR 34427 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
cc @cloud-fan |
Test build #144725 has finished for PR 34427 at commit
|
Test build #144727 has finished for PR 34427 at commit
|
Kubernetes integration test starting |
Kubernetes integration test status failure |
thanks, merging to master! |
What changes were proposed in this pull request?
This PR improves error messages for arithmetic overflow exceptions thrown under ANSI mode. It augments the error messages by suggesting workarounds to users:
try_
function if applicable.Why are the changes needed?
To make error messages more actionable.
Does this PR introduce any user-facing change?
Yes. Certain error messages will be different.
How was this patch tested?
Existing tests.