-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timezone issue in date_diff (#8540)
Summary: Pull Request resolved: #8540 In Presto Jave, timestamp with time zone in date_diff is converted to timestamp as GMT (simply drop the timezone field). Velox needs to match this behavior. Presto code ref: https://github.com/prestodb/presto/blob/0.286-edge17/presto-main/src/main/java/com/facebook/presto/operator/scalar/DateTimeFunctions.java#L500 Reviewed By: Yuhta Differential Revision: D53105892 fbshipit-source-id: 5187d079cfbd1be82de4752544ca3752561ab03c
- Loading branch information
1 parent
f3b91e3
commit 0698b7e
Showing
2 changed files
with
14 additions
and
9 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