use of org.apache.drill.exec.physical.config.BroadcastExchange in project drill by apache.
the class BroadcastExchangePrel method getPhysicalOperator.
public PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException {
Prel child = (Prel) this.getInput();
PhysicalOperator childPOP = child.getPhysicalOperator(creator);
//Currently, only accepts "NONE". For other, requires SelectionVectorRemover
if (!childPOP.getSVMode().equals(SelectionVectorMode.NONE)) {
childPOP = new SelectionVectorRemover(childPOP);
}
BroadcastExchange g = new BroadcastExchange(childPOP);
return creator.addMetadata(this, g);
}
Aggregations