Class HashJoinMemoryCalculatorImpl.BuildSidePartitioningImpl

java.lang.Object
org.apache.drill.exec.physical.impl.join.HashJoinMemoryCalculatorImpl.BuildSidePartitioningImpl
All Implemented Interfaces:
HashJoinMemoryCalculator.BuildSidePartitioning, HashJoinStateCalculator<HashJoinMemoryCalculator.PostBuildCalculations>
Enclosing class:
HashJoinMemoryCalculatorImpl

public static class HashJoinMemoryCalculatorImpl.BuildSidePartitioningImpl extends Object implements HashJoinMemoryCalculator.BuildSidePartitioning
At this point we need to reserve memory for the following:
  1. An incoming batch
  2. An incomplete batch for each partition
If there is available memory we keep the batches for each partition in memory. If we run out of room and need to start spilling, we need to specify which partitions need to be spilled.

Life Cycle