-
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 tests constructing maps with duplicate custom TimestampWithTimezo…
…nes (#11228) Summary: Pull Request resolved: #11228 When constructing a map in Presto and checking for duplicate keys, it already uses the key Vector's equalValuesAt function which calls the custom comparison operator provided by the custom type (if that applies). So this just works automatically for types with custom comparison. Adding unit tests to verify this and ensure it doesn't break in the future. Reviewed By: xiaoxmeng Differential Revision: D64214359 fbshipit-source-id: 15261dd7cf32693a199eba9b7efc43f47c39177b
- Loading branch information
1 parent
c434ed8
commit 5bedca0
Showing
1 changed file
with
69 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