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

Prevent returning internal compiler expressions when compiling UDFs #9190

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

jlowe
Copy link
Contributor

@jlowe jlowe commented Sep 5, 2023

Fixes #9167. Adds a check for compiler internal nodes remaining after compiling a UDF into an equivalent Catalyst expression. If any internal expressions are found, the code will throw an illegal state exception which will be caught by the try/catch in GpuScalaUDF and cause a fallback to the original CPU UDF function.

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
@jlowe jlowe self-assigned this Sep 5, 2023
@jlowe
Copy link
Contributor Author

jlowe commented Sep 5, 2023

build

@sameerz sameerz added the bug Something isn't working label Sep 6, 2023
@revans2 revans2 merged commit cdf5433 into NVIDIA:branch-23.10 Sep 6, 2023
@abellina
Copy link
Collaborator

abellina commented Sep 6, 2023

Thanks for fixing @jlowe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Ensure no udf-compiler internal nodes escape
4 participants