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
          jcamachorodriguez

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: