Description
Provide partial support for the interval year-month/interval day-time types in Hive. Intervals will be usable in expressions/predicates/joins:
select birthdate + interval '30-0' year to month as thirtieth_birthday from table where (current_timestamp - ts1 < interval '3 0:0:0' day to second)
This stops short of adding making the interval types usable as a storable column type.
Attachments
Attachments
Issue Links
- depends upon
-
HIVE-9690 Refactoring for non-numeric arithmetic operations
- Closed
- is related to
-
HIVE-13557 Make interval keyword optional while specifying DAY in interval arithmetic
- Closed
- links to