becb3d9df73cbb9ab218f7e6df3b71d26ab270d6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type symbols : String... to symbols : List<Symbol> in method private newWindowNodeFunction(symbols List<Symbol>) : WindowNode.Function in class com.facebook.presto.sql.planner.iterative.rule.TestSwapAdjacentWindowsBySpecifications | From | To | |
| Change Parameter Type functionCall : FunctionCall to functionCall : CallExpression in method public Function(functionCall CallExpression, frame Frame) in class com.facebook.presto.sql.planner.plan.WindowNode.Function | From | To | |
| Move Method | 1 | ||
| Move Method private newWindowNodeFunction(functionName String, window Optional<Window>, symbols String...) : WindowNode.Function from class com.facebook.presto.sql.planner.iterative.rule.TestMergeAdjacentWindows to private newWindowNodeFunction(symbols List<Symbol>) : WindowNode.Function from class com.facebook.presto.sql.planner.iterative.rule.TestSwapAdjacentWindowsBySpecifications | From | To | |
| Rename Variable | 2 | ||
| Rename Variable functionCall : FunctionCall to call : CallExpression in method public visitWindow(node WindowNode, context LocalExecutionPlanContext) : PhysicalOperation in class com.facebook.presto.sql.planner.LocalExecutionPlanner.Visitor | From | To | |
| Rename Variable canonicalFunctionCall : FunctionCall to callExpression : CallExpression in method public visitWindow(node WindowNode, context RewriteContext<Void>) : PlanNode in class com.facebook.presto.sql.planner.optimizations.UnaliasSymbolReferences.Rewriter | From | To | |
| Change Return Type | 1 | ||
| Change Return Type FunctionCall to CallExpression in method public getFunctionCall() : CallExpression in class com.facebook.presto.sql.planner.plan.WindowNode.Function | From | To | |
| Extract Variable | 1 | ||
| Extract Variable returnType : Type in method private window(subPlan PlanBuilder, windowFunctions List<FunctionCall>) : PlanBuilder from class com.facebook.presto.sql.planner.QueryPlanner | From | To | |
| Change Variable Type | 5 | ||
| Change Variable Type functionCall : FunctionCall to call : CallExpression in method public visitWindow(node WindowNode, context LocalExecutionPlanContext) : PhysicalOperation in class com.facebook.presto.sql.planner.LocalExecutionPlanner.Visitor | From | To | |
| Change Variable Type canonicalFunctionCall : FunctionCall to callExpression : CallExpression in method public visitWindow(node WindowNode, context RewriteContext<Void>) : PlanNode in class com.facebook.presto.sql.planner.optimizations.UnaliasSymbolReferences.Rewriter | From | To | |
| Change Variable Type call : FunctionCall to call : CallExpression in method public visitWindow(node WindowNode, context Void) : Void in class com.facebook.presto.sql.planner.planPrinter.PlanPrinter.Visitor | From | To | |
| Change Variable Type call : FunctionCall to call : CallExpression in method private checkWindowFunctions(functions Map<Symbol,WindowNode.Function>) : void in class com.facebook.presto.sql.planner.sanity.TypeValidator.Visitor | From | To | |
| Change Variable Type argument : Expression to argument : RowExpression in method public visitWindow(node WindowNode, context LocalExecutionPlanContext) : PhysicalOperation in class com.facebook.presto.sql.planner.LocalExecutionPlanner.Visitor | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type functionCall : FunctionCall to functionCall : CallExpression in class com.facebook.presto.sql.planner.plan.WindowNode.Function | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter functionName : String to name : String in method private newWindowNodeFunction(name String, functionHandle FunctionHandle, symbols String...) : WindowNode.Function in class com.facebook.presto.sql.planner.iterative.rule.TestMergeAdjacentWindows | From | To |