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 tests for Presto's map_subset UDF with TimestampWithTimezones (fa…
…cebookincubator#11242) Summary: Pull Request resolved: facebookincubator#11242 Presto's map_subset implementation for Generic types uses the hash and equals functions implemented for GenericViews. For TimestampWithTImeZone this recursively calls these functions on the CustomTypeWithCustomComparisonView the GenericView wraps, which supports custom comparison operators. So this UDF works as is with the recent changes earlier in this stack. Adding unit tests to verify this and ensure it doesn't break in the future. Reviewed By: xiaoxmeng Differential Revision: D64262952 fbshipit-source-id: 8f98e5707e5b2fb90d2efadcf3c12d1e24f829ef
- Loading branch information
1 parent
4787538
commit adbebfd
Showing
1 changed file
with
75 additions
and
0 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