Martijn Visser created FLINK-41558:
--------------------------------------

             Summary: NOT NULL enforcer error suggests an option that a 
compiled plan ignores
                 Key: FLINK-41558
                 URL: https://issues.apache.org/jira/browse/FLINK-41558
             Project: Flink
          Issue Type: Improvement
          Components: Table SQL / Planner
            Reporter: Martijn Visser


The {{EnforcerException}} for a NULL in a NOT NULL column says {{You can set 
job configuration 'table.exec.sink.not-null-enforcer'='DROP' to suppress this 
exception}}. For a job that runs a compiled plan, the sink uses the value 
stored in the plan, so setting the option before {{EXECUTE PLAN}} changes 
nothing and the job fails again. The message could mention that a compiled plan 
uses its stored value.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to