Search in sources :

Example 1 with FlattenPOP

use of org.apache.drill.exec.physical.config.FlattenPOP in project drill by apache.

the class FlattenPrel method getPhysicalOperator.

@Override
public PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException {
    Prel child = (Prel) this.getInput();
    PhysicalOperator childPOP = child.getPhysicalOperator(creator);
    FlattenPOP f = new FlattenPOP(childPOP, (SchemaPath) getFlattenExpression(new DrillParseContext(PrelUtil.getSettings(getCluster()))));
    return creator.addMetadata(this, f);
}
Also used : FlattenPOP(org.apache.drill.exec.physical.config.FlattenPOP) PhysicalOperator(org.apache.drill.exec.physical.base.PhysicalOperator) DrillParseContext(org.apache.drill.exec.planner.logical.DrillParseContext)

Aggregations

PhysicalOperator (org.apache.drill.exec.physical.base.PhysicalOperator)1 FlattenPOP (org.apache.drill.exec.physical.config.FlattenPOP)1 DrillParseContext (org.apache.drill.exec.planner.logical.DrillParseContext)1