-
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.
Throw for zzzz (and beyond) in parse_datetime (#11331)
Summary: This diff throws a user exception for JODA's zzzz (or more) patterns (all equivalent) in Presto's parse_datetime function. JODA does not support parsing time zone long names (specified by the pattern zzzz) so neither should Velox to be consistent. Previously we were treating any number of 'z's as representing a time zone abbreviation in the pattern which is completely wrong. Reviewed By: amitkdutta, pedroerp Differential Revision: D64797504
- Loading branch information
1 parent
de32e2b
commit 1d48ef6
Showing
2 changed files
with
19 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