forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow partial date parsing when simple datetime formatter is used (fa…
…cebookincubator#11386) Summary: The Spark legacy datetime formatter allows parsing date from incomplete text, seeing [code link](https://github.com/openjdk/jdk8/blob/master/jdk/src/share/classes/java/text/DateFormat.java#L351). This PR enables partial date parsing when the `LENIENT_SIMPLE` or `STRICT_SIMPLE` datetime formatter is used. Relates issues: facebookincubator#10354, [gluten#6227](apache/incubator-gluten#6227) Pull Request resolved: facebookincubator#11386 Reviewed By: pedroerp Differential Revision: D65948039 Pulled By: Yuhta fbshipit-source-id: 0d17084f723ebeaded7278178982b5a10d9f9fed
- Loading branch information
1 parent
1947e4d
commit d7a7124
Showing
3 changed files
with
47 additions
and
18 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