[ https://issues.apache.org/jira/browse/HIVE-10911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aihua Xu updated HIVE-10911: ---------------------------- Attachment: HIVE-10911.patch > 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 > Affects Versions: 1.3.0 > Reporter: Aihua Xu > Assignee: Aihua Xu > Attachments: HIVE-10911.patch > > > 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)