[ https://issues.apache.org/jira/browse/HIVE-13557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich updated HIVE-13557: ------------------------------------ Attachment: HIVE-13557.2.patch patch #2) * {{1 day}} or {{'1' day}} * {{(1+x) day}} * {{interval 1 day}} or {{interval '1' day}} * {{interval (1+x) day}} I would be happy to be able to support * {{interval 1+x day}} too...but it seems problematic While I keep thinging about that...a test execution would be good...I may probably missed a few qtests which are affected by this change > 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 > Attachments: HIVE-13557.1.patch, HIVE-13557.1.patch, > HIVE-13557.1.patch, HIVE-13557.2.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)