RAJKAMAL created HIVE-21643:
-------------------------------
Summary: Fix Broken support for ISO Time with Zone in Hive UDFs
Key: HIVE-21643
URL: https://issues.apache.org/jira/browse/HIVE-21643
Project: Hive
Issue Type: Bug
Components: UDF
Affects Versions: 3.1.1, 3.1.0, 3.0.0
Reporter: RAJKAMAL
Attachments: udf_fix.patch
The followings UDFs date_format and to_date used to support ISO dates with
timezone and the support has been broken since Hive 3.x release.
Example:
date_format('2017-03-16T00:10:42Z', 'y')
date_format('2017-03-16T00:10:42+01:00', 'y')
date_format('2017-03-16T00:10:42-01:00', 'y')
to_date('2015-04-11T01:30:45Z')
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)