Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
0.11.0
-
None
-
None
-
None
Description
You have the equivalent scalar functions but do not offer ISO-SQL extract which should be a small enhancement.
Note, the second() scalar does not return the fractional seconds in a timestamp with ISO-SQL would expect extract (second) to implement.
select extract (year from cts), ....
vs
select rnum, year (cts), month( cts), day( cts), hour(cts), minute (cts), second( cts), cts from tts
Attachments
Issue Links
- duplicates
-
HIVE-14579 Add support for date extract
- Closed