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

Add validation for start and length parameters for slice #12241

Open
wants to merge 1 commit into
base: branch-25.04
Choose a base branch
from

Conversation

ustcfy
Copy link
Collaborator

@ustcfy ustcfy commented Feb 28, 2025

Closes #12203

Depends on

This PR adds validation for the legality of start and length in the slice expression.

When they are invalid, it will throw an exception consistent with Spark's slice behavior.

Signed-off-by: Yan Feng <fengyan_@mail.ustc.edu.cn>
@ustcfy ustcfy requested a review from firestarman February 28, 2025 06:37
@ustcfy ustcfy self-assigned this Feb 28, 2025
@ustcfy ustcfy requested a review from res-life February 28, 2025 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FOLLOW-UP] Refine error message for GpuSlice invalid cases.
1 participant