hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9875) replace new SimpleDateFormat with DateUtils.getDateFormat
Date Thu, 21 May 2015 00:29:00 GMT

     [ 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)

Mime
View raw message