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

Update the children unpacking pattern for GpuIf. #3457

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

firestarman
Copy link
Collaborator

@firestarman firestarman commented Sep 13, 2021

Spark 3.2.0 has changed the "children" of "If" expression from
predicate :: trueValue :: falseValue :: Nil
to
IndexedSeq(first, second, third)

The updated pattern can cover both of the two cases.

This closes #3434.

Signed-off-by: Firestarman firestarmanllc@gmail.com

Because Spark 3.2.0 has updated the "children" of "If" expression from
   `predicate :: trueValue :: falseValue :: Nil`
to
   `IndexedSeq(first, second, third)`

The updated pattern can cover both of the two cases.

Signed-off-by: Firestarman <firestarmanllc@gmail.com>
@firestarman
Copy link
Collaborator Author

build

@sameerz sameerz added this to the Sep 13 - Sep 24 milestone Sep 13, 2021
@firestarman firestarman merged commit 5fcecae into NVIDIA:branch-21.10 Sep 14, 2021
@firestarman firestarman deleted the if-match-pattern branch September 14, 2021 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Fix the unit test failure of KnownNotNull in Scala UDF for Spark 3.2
3 participants