Skip to content

Table Constraints

Delta Lake allows for table constraints using the following SQL statements:

Table constraints can be one of the following:

Column-level invariants require Protocol to be at least 2 for the writer version.

DeltaCatalog is used to add or remove constraints of a delta table (using AddConstraint and DropConstraint).

References


Last update: 2021-06-14
Back to top