Search in sources :

Example 1 with UnorderedDeMuxExchange

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

the class UnorderedDeMuxExchangePrel method getPhysicalOperator.

@Override
public PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException {
    Prel child = (Prel) this.getInput();
    PhysicalOperator childPOP = child.getPhysicalOperator(creator);
    UnorderedDeMuxExchange p = new UnorderedDeMuxExchange(childPOP, HashPrelUtil.getHashExpression(this.fields, getInput().getRowType()));
    return creator.addMetadata(this, p);
}
Also used : UnorderedDeMuxExchange(org.apache.drill.exec.physical.config.UnorderedDeMuxExchange) PhysicalOperator(org.apache.drill.exec.physical.base.PhysicalOperator)

Aggregations

PhysicalOperator (org.apache.drill.exec.physical.base.PhysicalOperator)1 UnorderedDeMuxExchange (org.apache.drill.exec.physical.config.UnorderedDeMuxExchange)1