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

Bring paranthesis handling in windowing specification in compliance with sql standard

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11.0
    • PTF-Windowing
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: