AddConstraint¶
AddConstraint
is a TableChange
(Spark SQL) of AlterTableAddConstraint command.
Creating Instance¶
AddConstraint
takes the following to be created:
- Constraint Name
- Constraint SQL Expression (text)
AddConstraint
is created when:
AlterTableAddConstraint
command is requested for the table changes
Query Execution¶
AddConstraint
is resolved to AlterTableAddConstraintDeltaCommand and immediately executed when DeltaCatalog
is requested to alter a delta table.