use of com.facebook.presto.spi.plan.ExceptNode in project presto by prestodb.
the class RelationPlanner method visitExcept.
@Override
protected RelationPlan visitExcept(Except node, Void context) {
checkArgument(!node.getRelations().isEmpty(), "No relations specified for EXCEPT");
SetOperationPlan setOperationPlan = process(node);
PlanNode planNode = new ExceptNode(getSourceLocation(node), idAllocator.getNextId(), setOperationPlan.getSources(), setOperationPlan.getOutputVariables(), setOperationPlan.getVariableMapping());
return new RelationPlan(planNode, analysis.getScope(node), planNode.getOutputVariables());
}
Aggregations