[ 
https://issues.apache.org/jira/browse/IMPALA-3381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabor Kaszab closed IMPALA-3381.
--------------------------------
       Resolution: Duplicate
    Fix Version/s: Not Applicable

> Impala to support AM/PM format in unix_timestamp and from_unixtime
> ------------------------------------------------------------------
>
>                 Key: IMPALA-3381
>                 URL: https://issues.apache.org/jira/browse/IMPALA-3381
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend
>    Affects Versions: Impala 2.5.0
>            Reporter: Yibing Shi
>            Assignee: Gabor Kaszab
>            Priority: Minor
>              Labels: built-in-function
>             Fix For: Not Applicable
>
>
> Need a way to support below format in {{unix_timestamp}}, and 
> {{from_unixtime}} if possible:
> {noformat}
> 20151214 05:15:00.1234 AM
> 20151214 05:15:00.1234 PM
> {noformat}
> An example:
> {noformat}
> unix_timestamp('20151214 05:15:00.1234 PM', 'yyyyMMdd HH:mm:ss.SSS PP') 
> {noformat}
> Of course we can choose a different format, only if we can interpret the 
> AM/PM part of a date time string.
> *The function need to support up to nanosecond*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to