-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GpuIf to support expressions with side effects (#4358)
* Update GpuIf to support expressions with side effects Signed-off-by: Andy Grove <andygrove@nvidia.com> * prep for review Signed-off-by: Andy Grove <andygrove@nvidia.com> * improve checks for all true/false Signed-off-by: Andy Grove <andygrove@nvidia.com> * refactor for readability and add documentation * improve GpuCast side-effect check Signed-off-by: Andy Grove <andygrove@nvidia.com> * release resources earlier * remove isValid check * Update sql-plugin/src/main/scala/com/nvidia/spark/rapids/conditionalExpressions.scala Co-authored-by: Liangcai Li <firestarmanllc@gmail.com> * Update sql-plugin/src/main/scala/com/nvidia/spark/rapids/conditionalExpressions.scala Co-authored-by: Liangcai Li <firestarmanllc@gmail.com> * fix resource leak and add test for CAST Signed-off-by: Andy Grove <andygrove@nvidia.com> * revert add blank line * Update sql-plugin/src/main/scala/com/nvidia/spark/rapids/conditionalExpressions.scala Co-authored-by: Jason Lowe <jlowe@nvidia.com> * partially address PR review feedback Signed-off-by: Andy Grove <andygrove@nvidia.com> * Change gather signature to return ColumnVector. Also add missing import. Signed-off-by: Andy Grove <andygrove@nvidia.com> Co-authored-by: Liangcai Li <firestarmanllc@gmail.com> Co-authored-by: Jason Lowe <jlowe@nvidia.com>
- Loading branch information
1 parent
713636b
commit c07e1e2
Showing
7 changed files
with
237 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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