Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
Impala 2.5.0
Description
Need a way to support below format in unix_timestamp, and from_unixtime if possible:
20151214 05:15:00.1234 AM 20151214 05:15:00.1234 PM
An example:
unix_timestamp('20151214 05:15:00.1234 PM', 'yyyyMMdd HH:mm:ss.SSS PP')
Of course we can choose a different format, only if we can interpret the AM/PM part of a date time string.
The function need to support up to nanosecond
Attachments
Issue Links
- duplicates
-
IMPALA-4018 Add support for SQL:2016 datetime templates/patterns/masks to CAST(... AS ... FORMAT <template>)
- Closed
- is related to
-
IMPALA-5237 from_unixtime cannot include literal H - incompatible with hive
- In Progress
-
IMPALA-4018 Add support for SQL:2016 datetime templates/patterns/masks to CAST(... AS ... FORMAT <template>)
- Closed