You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Aihua Xu (JIRA)" <ji...@apache.org> on 2015/06/03 23:07:38 UTC

[jira] [Created] (HIVE-10911) Add support for date datatype in the value based windowing function

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)