bfe113cb94dfc125aa20f1f096edd49c31435eb0
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Attribute | 1 | ||
Rename Attribute inputChannels : List<Integer> to columnChannels : List<Integer> in class com.facebook.presto.operator.TableWriterOperator | From | To | |
Extract Method | 3 | ||
Extract Method private createAggregationOperatorFactory(planNodeId PlanNodeId, aggregations Map<Symbol,Aggregation>, step Step, startOutputChannel int, outputMappings ImmutableMap.Builder<Symbol,Integer>, source PhysicalOperation, context LocalExecutionPlanContext) : AggregationOperatorFactory extracted from private planGlobalAggregation(node AggregationNode, source PhysicalOperation, context LocalExecutionPlanContext) : PhysicalOperation in class com.facebook.presto.sql.planner.LocalExecutionPlanner.Visitor | From | To | |
Extract Method private createFragmentsPage() : Page extracted from public getOutput() : Page in class com.facebook.presto.operator.TableWriterOperator | From | To | |
Extract Method private createHashAggregationOperatorFactory(planNodeId PlanNodeId, aggregations Map<Symbol,Aggregation>, groupingSets List<List<Symbol>>, groupBySymbols List<Symbol>, step Step, hashSymbol Optional<Symbol>, groupIdSymbol Optional<Symbol>, source PhysicalOperation, hasDefaultOutput boolean, spillEnabled boolean, isStreamable boolean, unspillMemoryLimit DataSize, context LocalExecutionPlanContext, startOutputChannel int, outputMappings ImmutableMap.Builder<Symbol,Integer>) : OperatorFactory extracted from private planGroupByAggregation(node AggregationNode, source PhysicalOperation, spillEnabled boolean, unspillMemoryLimit DataSize, context LocalExecutionPlanContext) : PhysicalOperation in class com.facebook.presto.sql.planner.LocalExecutionPlanner.Visitor | From | To | |
Rename Parameter | 2 | ||
Rename Parameter inputChannels : List<Integer> to columnChannels : List<Integer> in method public TableWriterOperator(operatorContext OperatorContext, pageSink ConnectorPageSink, columnChannels List<Integer>, statisticAggregationOperator Operator, types List<Type>) in class com.facebook.presto.operator.TableWriterOperator | From | To | |
Rename Parameter inputChannels : List<Integer> to columnChannels : List<Integer> in method public TableWriterOperatorFactory(operatorId int, planNodeId PlanNodeId, pageSinkManager PageSinkManager, writerTarget WriterTarget, columnChannels List<Integer>, session Session, statisticsAggregationOperatorFactory OperatorFactory, types List<Type>) in class com.facebook.presto.operator.TableWriterOperator.TableWriterOperatorFactory | From | To |