forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
array_intersect operand swapping (facebookincubator#10624)
Summary: Pull Request resolved: facebookincubator#10624 The order of elements in the result always depends on the order of the elements in the left operand. To save memory, Presto swaps the operands if the right operand is larger than the left since the right is made into a hash set. Presto does this by row level but we can only do it by the row vector level in Velox. This is to preserve the savings obtained by creating a constant set if one of the operands is constant. A change will later be made to Presto by someone on their team to implement the same constant set logic. Differential Revision: D60531033
- Loading branch information
1 parent
47bb048
commit 7166ba7
Showing
2 changed files
with
34 additions
and
5 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