-
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.
Fix date_diff() bug across time zone boundaries
Summary: Date diff calculation for timestamp with time zone types need to be performed in the time zone of the first parameter to follow Presto's semantic. Timestamp calculation normalized to UTC may not return the same result if the interval crosses a daylight savings time. Differential Revision: D63159202
- Loading branch information
1 parent
c61a353
commit 0c7546d
Showing
2 changed files
with
99 additions
and
38 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