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

Jesus Camacho Rodriguez commented on HIVE-20813:
------------------------------------------------

+1 (pending tests)

> udf to_epoch_milli need to support timestamp without time zone as well
> ----------------------------------------------------------------------
>
>                 Key: HIVE-20813
>                 URL: https://issues.apache.org/jira/browse/HIVE-20813
>             Project: Hive
>          Issue Type: Bug
>            Reporter: slim bouguerra
>            Assignee: slim bouguerra
>            Priority: Major
>         Attachments: HIVE-20813.patch
>
>
> Currently the following query will fail with a cast exception (tries to cast 
> timestamp to timestamp with local timezone).
> {code}
>  select to_epoch_milli(current_timestamp)
> {code}
> As a simple fix we need to add support for timestamp object inspector.



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

Reply via email to