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

map-side groupby wrongly due to HIVE-3432

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Query Processor
    • None

    Description

      There seems to be a bug due to HIVE-3432.

      We are converting the group by to a map side group by after only looking at
      sorting columns. This can give wrong results if the data is sorted and
      bucketed by different columns.

      Add some tests for that scenario, verify and fix any issues.

      Attachments

        1. hive.3647.1.patch
          24 kB
          Namit Jain
        2. hive.3647.2.patch
          24 kB
          Namit Jain
        3. hive.3647.3.patch
          28 kB
          Namit Jain
        4. hive.3647.4.patch
          50 kB
          Namit Jain
        5. hive.3647.5.patch
          66 kB
          Namit Jain
        6. hive.3647.6.patch
          101 kB
          Namit Jain
        7. hive.3647.7.patch
          101 kB
          Namit Jain
        8. hive.3647.8.patch
          101 kB
          Namit Jain

        Issue Links

          Activity

            People

              namit Namit Jain
              namit Namit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: