Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
Impala 2.0.1
-
None
-
> version;
Shell version: Impala Shell v2.0.1-cdh5 (cc09df0) built on Wed Nov 19 10:57:34 PST 2014
Server version: impalad version 2.0.1-cdh5 RELEASE (build cc09df07d93c79351052eef2f4e5baf52373dc33)
Description
Impala:
> select unix_timestamp();
Query: select unix_timestamp()
------------------
unix_timestamp() |
------------------
1 |
------------------
Fetched 1 row(s) in 0.01s
Hive:
hive> select unix_timestamp();
Total jobs = 1
Launching Job 1 out of 1
--snip--
Stage-Stage-1: Map: 1 Cumulative CPU: 3.54 sec HDFS Read: 270 HDFS Write: 11 SUCCESS
Total MapReduce CPU Time Spent: 3 seconds 540 msec
OK
1418942092
i.e unixtime() returns incorrect value/time.
Attachments
1.
|
unix_timestamp returns 1 for newer impala version | Resolved | Unassigned |