Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 0.3
-
None
-
None
Description
Minor incompatibiliy between Impala and Hive:
Impala:
select UNIX_TIMESTAMP('10:02:01') ; Query: select UNIX_TIMESTAMP('10:02:01') Query finished, fetching results ... 0 Returned 1 row(s) in 0.01s
Hive:
hive> select UNIX_TIMESTAMP('10:02:01') FROM tmp;
<snip>
OK
NULL
In the code, we should probably check if (tv->date().is_special()) in both branches of TimestampFunctions::Unix.