Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4034

Should be able to specify windowing spec without needing Between

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • PTF-Windowing
    • None

    Description

      Currently user need to do following:

      select s, sum(b) over (distribute by i sort by si rows between unbounded preceding and current row) from over100k;
      

      but sql spec allows following as well:

      select s, sum(b) over (distribute by i sort by si rows unbounded preceding) from over100k;
      

      In such cases current row should be assumed implicitly.

      Attachments

        1. HIVE-4034.patch
          19 kB
          Ashutosh Chauhan

        Issue Links

          Activity

            People

              ashutoshc Ashutosh Chauhan
              ashutoshc Ashutosh Chauhan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: