[ https://issues.apache.org/jira/browse/HIVE-25577?focusedWorklogId=658455&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-658455 ]
ASF GitHub Bot logged work on HIVE-25577: ----------------------------------------- Author: ASF GitHub Bot Created on: 30/Sep/21 15:52 Start Date: 30/Sep/21 15:52 Worklog Time Spent: 10m Work Description: ashish-kumar-sharma commented on a change in pull request #2686: URL: https://github.com/apache/hive/pull/2686#discussion_r719543736 ########## File path: ql/src/test/results/clientpositive/llap/udf5.q.out ########## @@ -260,7 +260,7 @@ POSTHOOK: query: select from_unixtime(unix_timestamp('1400-11-08 08:00:00 ICT', POSTHOOK: type: QUERY POSTHOOK: Input: _dummy_database@_dummy_table #### A masked pattern was here #### -1400-11-08 08:00:00 +1400-11-08 07:35:24 Review comment: Because input is ICT(+07:00) output is Asia/bangkok(+6:42:04) due to that we are seeing this difference. ########## File path: ql/src/test/results/clientpositive/llap/udf5.q.out ########## @@ -260,7 +260,7 @@ POSTHOOK: query: select from_unixtime(unix_timestamp('1400-11-08 08:00:00 ICT', POSTHOOK: type: QUERY POSTHOOK: Input: _dummy_database@_dummy_table #### A masked pattern was here #### -1400-11-08 08:00:00 +1400-11-08 07:35:24 Review comment: Because input is ICT(+07:00) output is Asia/bangkok(+06:42:04) due to that we are seeing this difference. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 658455) Time Spent: 0.5h (was: 20m) > 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 > Time Spent: 0.5h > 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)