Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6455 Scalable dynamic partitioning and bucketing optimization
  3. HIVE-6761

Hashcode computation does not use maximum parallelism for scalable dynamic partitioning

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.13.0, 0.14.0
    • 0.13.0, 0.14.0
    • Query Processor
    • None

    Description

      Hashcode computation for HIVE-6455 should consider all the partitioning columns and bucket number to distribute the rows. The following code

      for (int i = 0; i < partitionEval.length - 1; i++) {
      

      ignores the last partition column thereby generating lesser hashcodes.

      Attachments

        1. HIVE-6761.1.patch
          2 kB
          Prasanth Jayachandran

        Activity

          People

            prasanth_j Prasanth Jayachandran
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: