You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "David Mollitor (JIRA)" <ji...@apache.org> on 2019/08/07 14:00:00 UTC
[jira] [Comment Edited] (HIVE-21241) Migrate TimeStamp Parser From
Joda Time
[ https://issues.apache.org/jira/browse/HIVE-21241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16902082#comment-16902082 ]
David Mollitor edited comment on HIVE-21241 at 8/7/19 1:59 PM:
---------------------------------------------------------------
[~ngangam] I implemented your requests. Code is also available for review on Github.
I did not however change the DEBUG logging. It is expected that there are going to be cases where the timestamp fails to parse. For example, a dirty data set may have different timestamp formats in the data. Such a data set would generate a lot of INFO logging here as the parser would try multiple different formats until it got it right.
was (Author: belugabehr):
[~ngangam] I implemented your requests. Code is also available for review on Github.
> Migrate TimeStamp Parser From Joda Time
> ---------------------------------------
>
> Key: HIVE-21241
> URL: https://issues.apache.org/jira/browse/HIVE-21241
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Affects Versions: 3.2.0
> Reporter: David Mollitor
> Assignee: David Mollitor
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE-21241.1.patch, HIVE-21241.2.patch, HIVE-21241.3.patch, HIVE-21241.4.patch, HIVE-21241.5.patch, HIVE-21241.6.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Hive uses Joda time for its TimeStampParser.
> {quote}
> Joda-Time is the de facto standard date and time library for Java prior to Java SE 8. Users are now asked to migrate to java.time (JSR-310).
> https://www.joda.org/joda-time/
> {quote}
> Migrate TimeStampParser to {{java.time}}
> I also added a couple new pre-canned timestamp parsers for convenience:
> * ISO 8601
> * RFC 1123
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)