Toggle navigation
Home
com.facebook.presto.sql.tree.FunctionCall to com.facebook.presto.sql.planner.plan.AggregationNode.Aggregation
No. of Instances - 30
No. of Commits - 3
No. of Projects - {'presto'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Similar)
Map<Symbol,FunctionCall>
to
Map<Symbol,AggregationNode.Aggregation>
FunctionCall
to
Aggregation
Add or Remove Method invocation
parent.getAggregations()
to
parent.getAssignments()
getValue
to
getCall
aggregations.values().stream().filter(function -> !function.isDistinct()).flatMap(function -> function.getArguments().stream()).distinct().map(Symbol::from)
to
aggregations.values().stream().map(Aggregation::getCall).filter(function -> !function.isDistinct()).flatMap(function -> function.getArguments().stream()).distinct().map(Symbol::from)
aggregations.values().stream().filter(FunctionCall::isDistinct).flatMap(function -> function.getArguments().stream()).distinct().map(Symbol::from)
to
aggregations.values().stream().map(Aggregation::getCall).filter(FunctionCall::isDistinct).flatMap(function -> function.getArguments().stream()).distinct().map(Symbol::from)
expectedCall.equals(assignment.getValue())
to
expectedCall.equals(assignment.getValue().getCall())
node.getGroupIdSymbol()
to
StandardTypes.BIGINT
node.getHashSymbol()
to
AGGREGATE
node.getStep()
to
AGGREGATE
AGGREGATE
to
ImmutableList.of()
StandardTypes.BIGINT
to
parseTypeSignature(StandardTypes.BIGINT)
node.getId()
to
functionCall.getName()
node.getMasks()
to
functionCall.getFilter()
node.getGroupingSets()
to
functionCall.isDistinct()
source
to
functionCall.getWindow()
getValue
to
getCall
getValue
to
getCall
getValue
to
getCall
getCall
to
getValue
Rename Variable
aggregations
to
assignments
call
to
aggregation
finalCalls
to
finalAggregation
call
to
aggregation
call
to
aggregation
functionCall
to
aggregation
functionCall
to
aggregation
Cascading Type Change (Different)
AggregationNode
to
FunctionCall
Convert Class instance creation to method invocation
AggregationNode
to
put