Toggle navigation
Home
com.facebook.presto.sql.tree.Expression to com.facebook.presto.spi.relation.RowExpression
No. of Instances - 77
No. of Commits - 6
No. of Projects - {'presto'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
Joiner.on(", ").join(row)
to
Joiner.on(", ").join(formatter.formatRowExpressions(row))
literalEncoder.toExpression(value.getValue(),type)
to
constant(value.getValue(),type)
rewritten
to
castToRowExpression(rewritten)
nullLiteral
to
castToRowExpression(nullLiteral)
ExpressionInterpreter.expressionInterpreter(row.get(i),metadata,context.getSession(),expressionTypes)
to
rowExpressionInterpreter(row.get(i),metadata,context.getSession())
rewritten
to
castToRowExpression(rewritten)
forEach
to
forEach
context.add(aggregation.getCall())
to
context.add(castToRowExpression(aggregation.getCall()))
compileJoinFilterFunction(filterExpression,probeLayout,buildLayout,context.getTypes(),context.getSession())
to
compileJoinFilterFunction(filterExpression,probeLayout,buildLayout)
Rename Variable
rows
to
rowsBuilder
rows
to
rowsBuilder
filterExpression
to
filter
filterExpression
to
filter
Rename Method invocation
node.getFilter()
to
node.getFilter().map(OriginalExpressionUtils::castToRowExpression)
Cascading Type Change (Different)
SymbolReference
to
VariableReferenceExpression
SymbolReference
to
VariableReferenceExpression
SymbolReference
to
VariableReferenceExpression