84b3a8a87f7d3dec928a871fa5d5e6bfed7c340e
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 23
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 1 | ||
| Move Method package formatSQLParsingError(sql String, pos SqlParserPos) : String from class org.apache.drill.exec.planner.sql.DrillSqlWorker to package formatSQLParsingError(sql String, pos SqlParserPos) : String from class org.apache.drill.exec.planner.sql.SqlConverter | From | To | |
| Rename Variable | 1 | ||
| Rename Variable convertedRelNode : RelNode to intermediateNode2 : RelNode in method protected convertToDrel(relNode RelNode) : DrillRel in class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler | From | To | |
| Inline Method | 1 | ||
| Inline Method private doLogicalPlanning(relNode RelNode) : RelNode inlined to protected convertToDrel(relNode RelNode) : DrillRel in class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class org.apache.drill.exec.planner.logical.DrillRuleSets moved and renamed to org.apache.drill.exec.planner.PlannerPhase | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute hepPlanner : HepPlanner to converter : SqlConverter in class org.apache.drill.exec.planner.sql.handlers.SqlHandlerConfig | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type convertedRelNode : DrillRel to convertedRelNode : RelNode in method protected convertToDrel(relNode RelNode) : DrillRel in class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type SLICE_TARGET_OPTION : OptionValidator to SLICE_TARGET_OPTION : PositiveLongValidator in class org.apache.drill.exec.ExecConstants | From | To | |
| Change Attribute Type hepPlanner : HepPlanner to converter : SqlConverter in class org.apache.drill.exec.planner.sql.handlers.SqlHandlerConfig | From | To | |
| Extract And Move Method | 3 | ||
| Extract And Move Method protected log(description String, node RelNode, logger Logger, watch Stopwatch) : void extracted from public getPlan(sqlNode SqlNode) : PhysicalPlan in class org.apache.drill.exec.planner.sql.handlers.CreateTableHandler & moved to class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler | From | To | |
| Extract And Move Method protected log(description String, node RelNode, logger Logger, watch Stopwatch) : void extracted from public getPlan(sqlNode SqlNode) : PhysicalPlan in class org.apache.drill.exec.planner.sql.handlers.ExplainHandler & moved to class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler | From | To | |
| Extract And Move Method public getConverter() : SqlConverter extracted from private convertToRel(node SqlNode) : RelNode in class org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler & moved to class org.apache.drill.exec.planner.sql.handlers.SqlHandlerConfig | From | To |