-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for custom comparison in Presto's array_distinct (#11143)
Summary: Update Presto's array_distinct UDF to work with types that provide custom comparison. We can reuse the implementation of ValueSet for complex types, since that just uses the compare and hash functions provided by the Vector. With #11022 these just invoke the Type's custom implementations of these functions. Reviewed By: xiaoxmeng Differential Revision: D63719542
- Loading branch information
1 parent
efd99ee
commit 86e87d7
Showing
2 changed files
with
100 additions
and
17 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