Toggle navigation
Home
com.facebook.presto.sql.tree.Expression to java.lang.Integer
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'presto'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Cascading Type Change (Similar)
List<List<Expression>>
to
List<List<Integer>>
Add or Remove Method invocation
analysis.getGroupingSets(queryNode).stream().map(groupingSet -> groupingSet.stream().map(NodeRef::of).filter(columnReferenceFields::containsKey).map(columnReferenceFields::get).map(fieldId -> translateFieldToLongLiteral(fieldId,relationId)).collect(toImmutableList()))
to
analysis.getGroupingSets(queryNode).stream().map(groupingSet -> groupingSet.stream().map(NodeRef::of).filter(columnReferenceFields::containsKey).map(columnReferenceFields::get).map(fieldId -> translateFieldToInteger(fieldId,relationId)).collect(toImmutableList()))
Rename Variable
groupingSetOrdinals
to
groupingSetDescriptors