-
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 (#11053)
Summary: Pull Request resolved: #11053 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
1e736ba
commit 4009e6d
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