[
https://issues.apache.org/jira/browse/HIVE-13557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15689137#comment-15689137
]
Lefty Leverenz commented on HIVE-13557:
---------------------------------------
Doc note: This needs to be documented in the wiki, but first INTERVAL needs to
be documented (see HIVE-9792). In addition, the new keywords SECONDS, MINUTES,
HOURS, DAYS, WEEKS, MONTHS, and YEARS need to be listed in the DDL doc.
* [DDL -- Non-reserved Keywords |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Non-reservedKeywords]
* [Hive Data Types |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types]
Added a TODOC2.2 label.
> Make interval keyword optional while specifying DAY in interval arithmetic
> --------------------------------------------------------------------------
>
> Key: HIVE-13557
> URL: https://issues.apache.org/jira/browse/HIVE-13557
> Project: Hive
> Issue Type: Sub-task
> Components: Types
> Reporter: Ashutosh Chauhan
> Assignee: Zoltan Haindrich
> Labels: TODOC2.2
> Attachments: HIVE-13557.1.patch, HIVE-13557.1.patch,
> HIVE-13557.1.patch, HIVE-13557.2.patch, HIVE-13557.3.patch, HIVE-13557.3.patch
>
>
> Currently we support expressions like: {code}
> WHERE SOLD_DATE BETWEEN ((DATE('2000-01-31')) - INTERVAL '30' DAY) AND
> DATE('2000-01-31')
> {code}
> We should support:
> {code}
> WHERE SOLD_DATE BETWEEN ((DATE('2000-01-31')) + (-30) DAY) AND
> DATE('2000-01-31')
> {code}
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)