You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashish Sharma (Jira)" <ji...@apache.org> on 2021/09/30 05:45:00 UTC

[jira] [Updated] (HIVE-25577) unix_timestamp() is ignoring the time zone value

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

Ashish Sharma updated HIVE-25577:
---------------------------------
    Issue Type: Bug  (was: Improvement)

> unix_timestamp() is ignoring the time zone value
> ------------------------------------------------
>
>                 Key: HIVE-25577
>                 URL: https://issues.apache.org/jira/browse/HIVE-25577
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ashish Sharma
>            Assignee: Ashish Sharma
>            Priority: Minor
>
> set hive.local.time.zone=Asia/Bangkok;
> Query - SELECT FROM_UNIXTIME(UNIX_TIMESTAMP('2000-01-07 00:00:00 GMT','yyyy-MM-dd HH:mm:ss z'));
> Result - 2000-01-07 00:00:00 ICT



--
This message was sent by Atlassian Jira
(v8.3.4#803005)