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

[jira] [Resolved] (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 ]

Sankar Hariappan resolved HIVE-25577.
-------------------------------------
       Fix Version/s: 4.0.0
    Target Version/s: 4.0.0
          Resolution: Fixed

PR merged to master.
Thanks [~ashish-kumar-sharma] for the patch!

> 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
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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)