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

Bucket pruning: bucketing for -ve hashcodes have historical issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Tez
    • Labels:
    • Target Version/s:

      Description

      The different ETL pathways differed in reducer choice slightly for -ve hashcodes.

      (hashCode & Integer.MAX_VALUE) % numberOfBuckets;
      !=
      Math.abs(hashCode) % numberOfBuckets
      

      Add a backwards compat option, which can be used to protect against old data left over from 0.13.

        Attachments

        1. HIVE-12945.02.patch
          10 kB
          Sergey Shelukhin
        2. HIVE-12945.1.patch
          10 kB
          Gopal Vijayaraghavan

          Activity

            People

            • Assignee:
              gopalv Gopal Vijayaraghavan
              Reporter:
              gopalv Gopal Vijayaraghavan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: