Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-10555 Improve windowing spec of range based windowing to support additional range formats
  3. HIVE-10650

Improve sum() function over windowing to support additional range formats

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Pending Closed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: PTF-Windowing
    • Labels:

      Description

      Support the following windowing function x preceding and y preceding and x following and y following.
      e.g.

       
      select sum(value) over (partition by key order by value rows between 2 preceding and 1 preceding) from tbl1;
      select sum(value) over (partition by key order by value rows between unbounded preceding and 1 preceding) from tbl1;
      

        Attachments

        1. HIVE-10650.patch
          44 kB
          Aihua Xu

          Issue Links

            Activity

              People

              • Assignee:
                aihuaxu Aihua Xu
                Reporter:
                aihuaxu Aihua Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: