use of org.apache.flink.table.planner.plan.nodes.exec.batch.BatchExecNode in project flink by apache.
the class DeadlockBreakupProcessor method process.
@Override
public ExecNodeGraph process(ExecNodeGraph execGraph, ProcessorContext context) {
if (!execGraph.getRootNodes().stream().allMatch(r -> r instanceof BatchExecNode)) {
throw new TableException("Only BatchExecNode DAG are supported now.");
}
InputPriorityConflictResolver resolver = new InputPriorityConflictResolver(execGraph.getRootNodes(), InputProperty.DamBehavior.END_INPUT, StreamExchangeMode.BATCH, context.getPlanner().getConfiguration());
resolver.detectAndResolve();
return execGraph;
}
Aggregations