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

[FEA] Support GpuRaiseError #5507

Closed
abellina opened this issue May 16, 2022 · 1 comment · Fixed by #5540
Closed

[FEA] Support GpuRaiseError #5507

abellina opened this issue May 16, 2022 · 1 comment · Fixed by #5540
Assignees
Labels
feature request New feature or request P1 Nice to have for release

Comments

@abellina
Copy link
Collaborator

abellina commented May 16, 2022

This PR #5487 adds the ability to convert a UDF that can throw SparkException into a catalyst expression with RaiseError.

We'd like to have GpuRaiseError so that we can prevent a columnar-to-row transition when an error should be raised.

@abellina abellina added feature request New feature or request ? - Needs Triage Need team to review and classify P0 Must have for release labels May 16, 2022
@abellina
Copy link
Collaborator Author

For this issue we would need to be careful not to copy to host a huge output since RaiseError just takes an Expression, as it could evaluate to a column. Since we are throwing no matter what, we'd want to first slice this column to 1 row and bring that top result only.

@sameerz sameerz added P1 Nice to have for release and removed ? - Needs Triage Need team to review and classify P0 Must have for release labels May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request P1 Nice to have for release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants