3c7f6f5305ad5703ee47544e95cc425a4265f168
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Attribute | 1 | ||
Merge Attribute [fragmentBuilder : ImmutableList.Builder<Slice>, rowCount : long] to lifespanAndStageStateTracker : LifespanAndStageStateTracker in class com.facebook.presto.operator.TableFinishOperator | From | To | |
Rename Variable | 1 | ||
Rename Variable rowCountBlock : Block to operatorExecutionContextBlock : Block in method private getTableCommitContext(page Page) : TableCommitContext in class com.facebook.presto.operator.TableFinishOperator | From | To | |
Move Attribute | 2 | ||
Move Attribute private rowCount : long from class com.facebook.presto.operator.TableFinishOperator to private rowCount : long from class com.facebook.presto.operator.TableFinishOperator.LifespanAndStageStateTracker.LifespanAndStageState | From | To | |
Move Attribute private fragmentBuilder : ImmutableList.Builder<Slice> from class com.facebook.presto.operator.TableFinishOperator to private fragmentBuilder : ImmutableList.Builder<Slice> from class com.facebook.presto.operator.TableFinishOperator.LifespanAndStageStateTracker.LifespanAndStageState | From | To | |
Extract Variable | 1 | ||
Extract Variable stageScheduler : FixedSourcePartitionedScheduler in method private createStreamingLinkedStages(parent ExchangeLocationsConsumer, locationFactory LocationFactory, plan StreamingSubPlan, nodeScheduler NodeScheduler, remoteTaskFactory RemoteTaskFactory, splitSourceFactory SplitSourceFactory, session Session, splitBatchSize int, partitioningCache Function<PartitioningHandle,NodePartitionMap>, nodePartitioningManager NodePartitioningManager, queryExecutor ExecutorService, schedulerExecutor ScheduledExecutorService, failureDetector FailureDetector, nodeTaskMap NodeTaskMap, stageSchedulers ImmutableMap.Builder<StageId,StageScheduler>, stageLinkages ImmutableMap.Builder<StageId,StageLinkage>, parentStageExecution Optional<SqlStageExecution>) : List<SqlStageExecution> from class com.facebook.presto.execution.scheduler.SqlQueryScheduler | From | To | |
Extract Method | 1 | ||
Extract Method private getTableCommitContext(page Page) : TableCommitContext extracted from public addInput(page Page) : void in class com.facebook.presto.operator.TableFinishOperator | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getMaxFailedTaskPercentage() : double extracted from public SystemSessionProperties(queryManagerConfig QueryManagerConfig, taskManagerConfig TaskManagerConfig, memoryManagerConfig MemoryManagerConfig, featuresConfig FeaturesConfig) in class com.facebook.presto.SystemSessionProperties & moved to class com.facebook.presto.sql.analyzer.FeaturesConfig | From | To |