Search in sources :

Example 1 with PhysicalPlanCreator

use of org.apache.drill.exec.planner.physical.PhysicalPlanCreator in project drill by apache.

the class DefaultSqlHandler method convertToPop.

protected PhysicalOperator convertToPop(Prel prel) throws IOException {
    PhysicalPlanCreator creator = new PhysicalPlanCreator(context, PrelSequencer.getIdMap(prel));
    PhysicalOperator op = prel.getPhysicalOperator(creator);
    return op;
}
Also used : PhysicalOperator(org.apache.drill.exec.physical.base.PhysicalOperator) PhysicalPlanCreator(org.apache.drill.exec.planner.physical.PhysicalPlanCreator)

Aggregations

PhysicalOperator (org.apache.drill.exec.physical.base.PhysicalOperator)1 PhysicalPlanCreator (org.apache.drill.exec.planner.physical.PhysicalPlanCreator)1