Jason Dere created HIVE-9792:
--------------------------------

             Summary: Support interval type in expressions/predicates 
                 Key: HIVE-9792
                 URL: https://issues.apache.org/jira/browse/HIVE-9792
             Project: Hive
          Issue Type: Sub-task
          Components: Types
            Reporter: Jason Dere
            Assignee: Jason Dere


Provide partial support for the interval year-month/interval day-time types in 
Hive. Intervals will be usable in expressions/predicates/joins:
{noformat}
  select birthdate + interval '30-0' year to month as thirtieth_birthday
  from table
  where (current_timestamp - ts1 < interval '0-1' year to month)
{noformat}

This stops short of adding making the interval types usable as a storable 
column type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to