forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 4
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 map subscript and Presto's eleme…
…nt_at UDF (facebookincubator#11239) Summary: Pull Request resolved: facebookincubator#11239 Update SubscriptUtil to work with types that provide custom comparison. We can reuse the implementation for complex types, since that just uses the compare function provided by the Vector. With facebookincubator#11022 this just invokes the Type's custom implementation. Since they share the same underlying code this makes both map subscript and the element_at UDF work with custom comparison. Reviewed By: xiaoxmeng Differential Revision: D64256363 fbshipit-source-id: ffd3350f1f00647bc2d397c6ea46fc1715a699f8
- Loading branch information
1 parent
5bedca0
commit 0e2e2b0
Showing
2 changed files
with
105 additions
and
1 deletion.
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