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

DISTINCT keyword is dropped by the parser for windowing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.0.1, 2.1.0
    • None
    • None

    Description

      To reproduce, the following query can be used:

      select distinct first_value(t) over ( partition by si order by i, b ) from over10k limit 100;
      

      The distinct keyword is ignored and duplicates are produced.

      Attachments

        1. HIVE-13242.patch
          32 kB
          Jesus Camacho Rodriguez

        Issue Links

          Activity

            People

              jcamachorodriguez Jesus Camacho Rodriguez
              jcamachorodriguez Jesus Camacho Rodriguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: