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

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

Ashish Sharma created HIVE-25577:
------------------------------------

             Summary: unix_timestamp() is ignoring the time zone value
                 Key: HIVE-25577
                 URL: https://issues.apache.org/jira/browse/HIVE-25577
             Project: Hive
          Issue Type: Improvement
            Reporter: Ashish Sharma
            Assignee: Ashish Sharma


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)