You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "slim bouguerra (JIRA)" <ji...@apache.org> on 2018/10/25 23:24:00 UTC
[jira] [Commented] (HIVE-20813) udf to_epoch_milli need to support
timestamp without time zone as well
[ https://issues.apache.org/jira/browse/HIVE-20813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664416#comment-16664416 ]
slim bouguerra commented on HIVE-20813:
---------------------------------------
[~jcamachorodriguez] can you please check this.
> 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)