ddb73a506c6cbb6492d6ff91ca174dbff1b8a045
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 4 | ||
| Rename Method public testPushProjectIntoScan() : void renamed to public testPushProjectIntoScanWithGroupByClause() : void in class org.apache.drill.exec.store.parquet.TestPushDownAndPruningWithItemStar | From | To | |
| Rename Method public onMatch(call RelOptRuleCall) : void renamed to private transformFilterCall(filterRel DrillFilterRel, projectRel DrillProjectRel, scanRel DrillScanRel, call RelOptRuleCall) : void in class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule | From | To | |
| Rename Method package hasItemStarFields() : boolean renamed to package hasNoItemStarFields() : boolean in class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule.ItemStarFieldsVisitor | From | To | |
| Rename Method private getNewRowType(typeFactory RelDataTypeFactory, originalFields List<RelDataTypeField>, newFields Collection<String>) : RelDataType renamed to private createNewRowType(typeFactory RelDataTypeFactory, originalFields List<RelDataTypeField>, newFields Collection<String>) : RelDataType in class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule | From | To | |
| Move And Rename Method | 1 | ||
| Move And Rename Method private DrillFilterItemStarReWriterRule(operand RelOptRuleOperand, id String) from class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule to package FilterOnScan(operand RelOptRuleOperand, id String) from class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule.FilterOnScan | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute INSTANCE : DrillFilterItemStarReWriterRule to PROJECT_ON_SCAN : ProjectOnScan in class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule | From | To | |
| Split Parameter | 1 | ||
| Split Parameter call : RelOptRuleCall to [filterRel : DrillFilterRel, projectRel : DrillProjectRel, scanRel : DrillScanRel] in method private transformFilterCall(filterRel DrillFilterRel, projectRel DrillProjectRel, scanRel DrillScanRel, call RelOptRuleCall) : void in class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type pruneRules : ImmutableSet<RelOptRule> to pruneRules : Set<RelOptRule> in method package getDirPruneScanRules(optimizerRulesContext OptimizerRulesContext) : RuleSet in class org.apache.drill.exec.planner.PlannerPhase | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type INSTANCE : DrillFilterItemStarReWriterRule to PROJECT_ON_SCAN : ProjectOnScan in class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule | From | To | |
| Extract Method | 2 | ||
| Extract Method private createFieldMapper(desiredFields Collection<DesiredField>, startingIndex int) : Map<RexNode,Integer> extracted from public onMatch(call RelOptRuleCall) : void in class org.apache.drill.exec.planner.logical.DrillFilterItemStarReWriterRule | From | To | |
| Extract Method private getItemStarRules() : ImmutableSet<RelOptRule> extracted from package getDirPruneScanRules(optimizerRulesContext OptimizerRulesContext) : RuleSet in class org.apache.drill.exec.planner.PlannerPhase | From | To |