d77ab31836e5e5b88c124e0c7540bccd0544dedb
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public testHashAggrSpill() : void renamed to private testSpill(maxMem long, numPartitions long, minBatches long, maxParallel int, fallback boolean, predict boolean, sql String, expectedRows long, cycle int, fromPart int, toPart int) : void in class org.apache.drill.exec.physical.impl.agg.TestHashAggrSpill | From | To | |
| Rename Variable | 1 | ||
| Rename Variable newSize : int to newTableSize : int in method private resizeAndRehashIfNeeded() : void in class org.apache.drill.exec.physical.impl.common.HashTableTemplate | From | To | |
| Inline Method | 2 | ||
| Inline Method private insertEntry(incomingRowIdx int, currentIdx int, hashValue int, lastEntryBatch BatchHolder, lastEntryIdx int) : void inlined to public put(incomingRowIdx int, htIdxHolder IndexPointer, hashCode int) : PutStatus in class org.apache.drill.exec.physical.impl.common.HashTableTemplate | From | To | |
| Extract Variable | 1 | ||
| Extract Variable sqlStr : String in method private testSpill(maxMem long, numPartitions long, minBatches long, maxParallel int, fallback boolean, predict boolean, sql String, expectedRows long, cycle int, fromPart int, toPart int) : void from class org.apache.drill.exec.physical.impl.agg.TestHashAggrSpill | From | To | |
| Extract Method | 2 | ||
| Extract Method private spillIfNeeded(currentPartition int) : void extracted from private checkGroupAndAggrValues(incomingRowIdx int) : void in class org.apache.drill.exec.physical.impl.aggregate.HashAggTemplate | From | To | |
| Extract Method private spillIfNeeded(currentPartition int, forceSpill boolean) : void extracted from private checkGroupAndAggrValues(incomingRowIdx int) : void in class org.apache.drill.exec.physical.impl.aggregate.HashAggTemplate | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public maxAvgColumnSize() : int extracted from private updateEstMaxBatchSize(incoming RecordBatch) : void in class org.apache.drill.exec.physical.impl.aggregate.HashAggTemplate & moved to class org.apache.drill.exec.physical.impl.spill.RecordBatchSizer | From | To |