Toggle navigation
Home
com.facebook.presto.sql.planner.Partitioning.PartitionFunctionArgumentBinding to com.facebook.presto.sql.planner.Symbol
No. of Instances - 9
No. of Commits - 1
No. of Projects - {'presto'}
Hierarchy/Composition: Composition
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
Optional.of(new Partitioning(nodePartitioningHandle,nodePartitioning))
to
Optional.of(Partitioning.create(nodePartitioningHandle,nodePartitioning))
streamPartitioning.map(columns -> new Partitioning(SOURCE_DISTRIBUTION,columns))
to
streamPartitioning.map(columns -> Partitioning.create(SOURCE_DISTRIBUTION,columns))
Optional.of(new Partitioning(nodePartitioningHandle,nodePartitioning))
to
Optional.of(Partitioning.create(nodePartitioningHandle,nodePartitioning))
streamPartitioning.map(columns -> new Partitioning(SOURCE_DISTRIBUTION,columns))
to
streamPartitioning.map(columns -> Partitioning.create(SOURCE_DISTRIBUTION,columns))
Optional.of(new Partitioning(SOURCE_DISTRIBUTION,streamPartitioning))
to
Optional.of(Partitioning.create(SOURCE_DISTRIBUTION,streamPartitioning))
Optional.of(new PartitioningScheme(writeTableLayout.get().getPartitioning(),outputLayout,partitionFunctionArguments))
to
Optional.of(new PartitioningScheme(Partitioning.create(writeTableLayout.get().getPartitioning(),partitionFunctionArguments),outputLayout))
Rename Method invocation
Arrays.asList(columnNames).stream().map(Symbol::new).map(PartitionFunctionArgumentBinding::new)
to
Arrays.asList(columnNames).stream().map(Symbol::new)
writeTableLayout.get().getPartitionColumns().stream().mapToInt(columnNames::indexOf).mapToObj(symbols::get).map(PartitionFunctionArgumentBinding::new)
to
writeTableLayout.get().getPartitionColumns().stream().mapToInt(columnNames::indexOf).mapToObj(symbols::get)
plan.getSampleWeight().map(PartitionFunctionArgumentBinding::new)
to
plan.getSampleWeight()
Other
new PartitionFunctionArgumentBinding(translated)
to
translated