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

Bucket pruning: bucketing for -ve hashcodes have historical issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • Tez

    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

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

            Dates

              Created:
              Updated:
              Resolved: