-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement support for ArrayExists expression (#4973)
This PR implements ArrayExists, it has two major phases 1. first apply function to produce array of Booleans 2. run segmented reduce ANY to if any of the values are true Spark 3.x default is the 3VL logic: - if any element is true the array maps to true - if no element is true and there is at least one null, the array maps to null - if no element is true and none is null, the array maps to false Legacy mode 2VL: - if any element is true the array maps to true - if no element is true , the array maps to false Closes #4815 Signed-off-by: Gera Shegalov <[email protected]>
- Loading branch information
1 parent
96c90b9
commit 5ed86dd
Showing
5 changed files
with
324 additions
and
96 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
Oops, something went wrong.