use of org.apache.drill.exec.physical.config.MetadataStreamAggPOP in project drill by apache.
the class MetadataStreamAggBatch method createAggregatorInternal.
@Override
protected StreamingAggregator createAggregatorInternal() {
MetadataStreamAggPOP popConfig = (MetadataStreamAggPOP) this.popConfig;
valueExpressions = new MetadataAggregateHelper(popConfig.getContext(), new ColumnNamesOptions(context.getOptions()), incoming.getSchema(), popConfig.getPhase()).getValueExpressions();
return super.createAggregatorInternal();
}
use of org.apache.drill.exec.physical.config.MetadataStreamAggPOP in project drill by apache.
the class MetadataStreamAggPrel method getPhysicalOperator.
@Override
public PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException {
Prel child = (Prel) this.getInput();
MetadataStreamAggPOP physicalOperator = new MetadataStreamAggPOP(child.getPhysicalOperator(creator), context, phase);
return creator.addMetadata(this, physicalOperator);
}
Aggregations