You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Quanlong Huang (JIRA)" <ji...@apache.org> on 2019/02/24 01:30:00 UTC
[jira] [Created] (IMPALA-8241) from_utc_timestamp returns
inconsistent results with Hive
Quanlong Huang created IMPALA-8241:
--------------------------------------
Summary: from_utc_timestamp returns inconsistent results with Hive
Key: IMPALA-8241
URL: https://issues.apache.org/jira/browse/IMPALA-8241
Project: IMPALA
Issue Type: Bug
Reporter: Quanlong Huang
This can be reproduced in both master and 2.x branches.
{code}
[localhost:21000] default> select from_utc_timestamp(cast(400000 * 3600.0 as timestamp), 'EST');
Query: select from_utc_timestamp(cast(400000 * 3600.0 as timestamp), 'EST')
Query submitted at: 2019-02-23 17:27:02 (Coordinator: http://impala-jenkins-slave-02:25000)
Query progress can be monitored at: http://impala-jenkins-slave-02:25000/query_plan?query_id=f476c87a904f281:71588a2400000000
+---------------------------------------------------------------+
| from_utc_timestamp(cast(400000 * 3600.0 as timestamp), 'est') |
+---------------------------------------------------------------+
| 2015-08-19 11:00:00 |
+---------------------------------------------------------------+
Fetched 1 row(s) in 0.64s
{code}
{code}
hive> select from_utc_timestamp(cast(400000 * 3600.0 as timestamp), 'EST');
OK
2015-08-19 04:00:00
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)