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

Bring paranthesis handling in windowing specification in compliance with sql standard

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: PTF-Windowing
    • Labels:
      None

      Description

       select max(i) over w from over100k window w as (partition by f);
      

      is sql compliant but doesn't work, but following does work:

       select max(i) over w from over100k window (w) as partition by f;
      

      We should make sure standard compliant sql works.

        Attachments

        1. hive-4028.patch
          44 kB
          Ashutosh Chauhan

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: