You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2017/11/20 18:25:00 UTC

[jira] [Comment Edited] (HIVE-18101) ISO 8601 UDF

    [ https://issues.apache.org/jira/browse/HIVE-18101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259604#comment-16259604 ] 

Ashutosh Chauhan edited comment on HIVE-18101 at 11/20/17 6:24 PM:
-------------------------------------------------------------------

[~belugabehr] Instead of adding a new udf, we should enhance existing udfs (like cast) to parse these additional formats. See : HIVE-16434


was (Author: ashutoshc):
[~belugabehr] Instead of adding a new udf, we should  existing udfs (like cast) parse these additional formats. See : HIVE-16434

> ISO 8601 UDF
> ------------
>
>                 Key: HIVE-18101
>                 URL: https://issues.apache.org/jira/browse/HIVE-18101
>             Project: Hive
>          Issue Type: New Feature
>          Components: Contrib
>    Affects Versions: 3.0.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Minor
>         Attachments: HIVE-18101.1.patch
>
>
> Please consider my submission of a UDF for parsing ISO 8601 strings into timestamps.  It uses Java 1.8's {{java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME}} class.
> https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
> https://en.wikipedia.org/wiki/ISO_8601



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)