fix(cudf): Use Spark equalto in multi-branch SWITCH test - #110
Merged
sperlingxx merged 1 commit intoSep 1, 2026
Merged
Conversation
DuckParser maps SQL `=` to Presto `eq`, which the Spark fixture does not register. The CASE WHEN predicates added in #54 therefore failed with `Scalar function doesn't exist: eq` before SWITCH ran. Fixes rapidsai#109
This was referenced Sep 1, 2026
Collaborator
Author
|
build |
thirtiseven
approved these changes
Sep 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CudfFilterProjectTest.multiBranchSwitchWithRegexpExtractWHEN predicates from SQL=to Sparkequalto(...).=to Prestoeq, which the Spark fixture does not register, so the test died inresolveScalarFunctionTypebefore SWITCH ran.382e95fdd). This is a test-dialect fix, not a production SWITCH/regexp_extractchange.Test plan
dev28798f623(CUDA SM 86):Scalar function doesn't exist: eq.CudfFilterProjectTest.multiBranchSwitchWithRegexpExtractpassed.velox_cudf_spark_filter_project_test: 57/57 passed (1 disabledhashWithSeedMultiColumns).Fixes #109
Part of #100
Prepared with assistance from Cursor.