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

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0, 0.14.0
    • Fix Version/s: 0.13.0, 0.14.0
    • Component/s: Query Processor
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: