You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "slim bouguerra (JIRA)" <ji...@apache.org> on 2018/10/25 23:08:00 UTC

[jira] [Created] (HIVE-20813) udf to_epoch_milli need to support timestamp without time zone as well

slim bouguerra created HIVE-20813:
-------------------------------------

             Summary: 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


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)