You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/04/20 08:37:25 UTC

[jira] [Created] (HIVE-13557) Make interval keyword optional while specifying DAY in interval arithmetic

Ashutosh Chauhan created HIVE-13557:
---------------------------------------

             Summary: 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


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)