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-39434][SQL] Provide runtime error query context when array index is out of bounding #36826

Closed
wants to merge 3 commits into from

Conversation

gengliangwang
Copy link
Member

What changes were proposed in this pull request?

Provide runtime error query context when array index is out of bounding, including

  • operator []
  • function element_at
  • function elt

Why are the changes needed?

Provide SQL query context of runtime errors to users, so that they can understand it better.

Does this PR introduce any user-facing change?

Yes, improve the runtime error message of array index out of bounding error

How was this patch tested?

UT

@gengliangwang
Copy link
Member Author

cc @srielau as well.

@gengliangwang
Copy link
Member Author

gengliangwang commented Jun 10, 2022

Merging to master

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