Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When creating a step function for an iterate with delta function where the solution set is not used, the compiler omits an error.
In some cases this is not desirable. There should be at least a switch to disable this reinforcement.
Exceptiontrace:
org.apache.flink.compiler.CompilerException: Error: The step function does not reference the solution set.
at org.apache.flink.compiler.PactCompiler$GraphCreatingVisitor.postVisit(PactCompiler.java:868)
at org.apache.flink.compiler.PactCompiler$GraphCreatingVisitor.postVisit(PactCompiler.java:622)
at org.apache.flink.api.common.operators.DualInputOperator.accept(DualInputOperator.java:283)
at org.apache.flink.api.common.operators.SingleInputOperator.accept(SingleInputOperator.java:202)
at org.apache.flink.api.common.operators.GenericDataSinkBase.accept(GenericDataSinkBase.java:286)
at org.apache.flink.api.common.Plan.accept(Plan.java:281)
at org.apache.flink.compiler.PactCompiler.compile(PactCompiler.java:517)
at org.apache.flink.compiler.PactCompiler.compile(PactCompiler.java:466)
at org.apache.flink.client.program.Client.getOptimizedPlan(Client.java:196)
at org.apache.flink.client.program.Client.getOptimizedPlan(Client.java:209)
at org.apache.flink.client.program.Client.run(Client.java:285)
at org.apache.flink.client.program.Client.run(Client.java:230)
at org.apache.flink.client.CliFrontend.executeProgram(CliFrontend.java:347)
at org.apache.flink.client.CliFrontend.run(CliFrontend.java:334)
at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1001)
at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1025)