Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 0.3, Impala 1.2.3
-
None
-
None
Description
Impala currently only supports timestamps in the format "YYYY-MM-DD HH:MM:SS.sssssssss". Either just the date or time is allowed but for example, "MM-DD-YYYY" is not supported.
For example:
select UNIX_TIMESTAMP('03-03-2012','dd-MM-yyyy')
Query: select UNIX_TIMESTAMP('03-03-2012','dd-MM-yyyy')
Query finished, fetching results ...
NULL
Returned 1 row(s) in 0.22s