pyflink.table.catalog.Constraint.is_enforced#
- Constraint.is_enforced() bool[source]#
Constraints can either be enforced or non-enforced. If a constraint is enforced it will be checked whenever any SQL statement is executed that results in data or schema changes. If the constraint is not enforced the owner of the data is responsible for ensuring data integrity. Flink will rely on the information as valid and might use it for query optimisations.