-
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_add() semantic on daylight savings boundaries (#10188)
Summary: Pull Request resolved: #10188 date_add() used to apply the timestamp deltas based on the local timestamp, which makes the conversion linear, but does not follow Presto's semantic. Changing it to follow Presto semantic. Applying the same rules to other timestamp and interval arithmetic functions. More context on: #10163 Reviewed By: kagamiori, mbasmanova Differential Revision: D58479195 fbshipit-source-id: 0509df1fd7836e92e2b4492a5956ac4b24a71a1b
- Loading branch information
1 parent
53b07f0
commit d9315cb
Showing
4 changed files
with
47 additions
and
15 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
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