You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashish Sharma (Jira)" <ji...@apache.org> on 2021/07/05 12:36:00 UTC
[jira] [Created] (HIVE-25306) Move Date and Timestamp parsing from
ResolverStyle.LENIENT to ResolverStyle.STRICT
Ashish Sharma created HIVE-25306:
------------------------------------
Summary: Move Date and Timestamp parsing from ResolverStyle.LENIENT to ResolverStyle.STRICT
Key: HIVE-25306
URL: https://issues.apache.org/jira/browse/HIVE-25306
Project: Hive
Issue Type: Bug
Components: Query Planning, UDF
Reporter: Ashish Sharma
Assignee: Ashish Sharma
Description -
Currently Date.java and Timestamp.java use DateTimeFormatter for parsing to convert the date/timpstamp from int,string,char etc to Date or Timestamp.
Default DateTimeFormatter which use ResolverStyle.LENIENT which mean date like "1992-13-12" is converted to "2000-01-12",
Moving DateTimeFormatter which use ResolverStyle.STRICT which mean date like "1992-13-12" is not be converted instead null is return.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)