You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/05/21 02:29:00 UTC
[jira] [Updated] (HIVE-9875) replace new SimpleDateFormat with
DateUtils.getDateFormat
[ https://issues.apache.org/jira/browse/HIVE-9875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Pivovarov updated HIVE-9875:
--------------------------------------
Attachment: HIVE-9875.1.patch
patch #1
> replace new SimpleDateFormat with DateUtils.getDateFormat
> ---------------------------------------------------------
>
> Key: HIVE-9875
> URL: https://issues.apache.org/jira/browse/HIVE-9875
> Project: Hive
> Issue Type: Improvement
> Reporter: Alexander Pivovarov
> Assignee: Alexander Pivovarov
> Priority: Minor
> Attachments: HIVE-9875.1.patch
>
>
> Recently thread-safe DateUtils class were added to hive-common
> We probably should replace new SimpleDateFormat with DateUtils.getXXXFormat across all hive modules.
> Currently DateUtils has only yyyy-MM-dd format.
> We need to add additional formats to DateUtils, e.g.
> yyyy-MM-dd HH:mm:ss
> yyyy-MM-dd HH:mm:ss,SSS // Why comma to separate SSS?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)