use of org.apache.drill.exec.physical.config.MetadataHashAggPOP in project drill by apache.
the class MetadataHashAggBatch method createAggregatorInternal.
@Override
protected HashAggregator createAggregatorInternal() {
MetadataHashAggPOP popConfig = (MetadataHashAggPOP) 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.MetadataHashAggPOP in project drill by apache.
the class MetadataHashAggPrel method getPhysicalOperator.
@Override
public PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException {
Prel child = (Prel) this.getInput();
MetadataHashAggPOP physicalOperator = new MetadataHashAggPOP(child.getPhysicalOperator(creator), context, phase);
return creator.addMetadata(this, physicalOperator);
}
Aggregations