Aihua Xu created HIVE-10911:
-------------------------------

             Summary: Add support for date datatype in the value based 
windowing function
                 Key: HIVE-10911
                 URL: https://issues.apache.org/jira/browse/HIVE-10911
             Project: Hive
          Issue Type: Sub-task
          Components: PTF-Windowing
            Reporter: Aihua Xu


Currently date datatype is not supported in value based windowing function. 

For the following query with hiredate to be date type, an exception will be 
thrown.

{{select deptno, ename, hiredate, sal, sum(sal) over (partition by deptno order 
by hiredate range 90 preceding) from emp;}}

It's valuable to support such type with number of days as the value difference. 



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

Reply via email to