Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 2.0.0
    • PTF-Windowing

    Description

      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.

      Attachments

        1. HIVE-10911.patch
          10 kB
          Aihua Xu

        Issue Links

          Activity

            People

              aihuaxu Aihua Xu
              aihuaxu Aihua Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: