You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2016/11/27 08:32:58 UTC

[jira] [Comment Edited] (HIVE-9792) Support interval type in expressions/predicates

    [ https://issues.apache.org/jira/browse/HIVE-9792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15699303#comment-15699303 ] 

Lefty Leverenz edited comment on HIVE-9792 at 11/27/16 8:32 AM:
----------------------------------------------------------------

Doc done by [~kgyrtkirk] (thanks):

* [Hive Data Types -- Intervals | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-Intervals]

Removed the TODOC1.2 label.


was (Author: lefty@hortonworks.com):
Doc done by [~kgyrtkirk] (thanks):

* [Hive Data Types -- Intervals | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-Intervals]

> 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
>             Fix For: 1.2.0
>
>         Attachments: HIVE-9792.1.patch, HIVE-9792.2.patch, HIVE-9792.3.patch, HIVE-9792.4.patch, HIVE-9792.5.patch, HIVE-9792.6.patch, HIVE-9792.7.patch
>
>
> 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 '3 0:0:0' day to second)
> {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)