[
https://issues.apache.org/jira/browse/FLINK-41558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn Visser updated FLINK-41558:
-----------------------------------
Labels: starter (was: )
> 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
> Priority: Minor
> Labels: starter
>
> 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)