-
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 hour(timestamp_with_time_zone) -> int64 Presto function (#1230)
Summary: Pull Request resolved: #1230 From discussions in [github issue](prestodb/presto#7122 (comment)), it says "Extracting hour from 2016-01-01 12:00:00 <TZ> should return 12 no matter what <TZ> is put in template.". This diff implement that behavior. Reviewed By: kagamiori Differential Revision: D34944701 fbshipit-source-id: 4f9bad2de01432dce0ae158f84462a994ff5ddcc
- Loading branch information
1 parent
02c800b
commit a6ff2af
Showing
3 changed files
with
27 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
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