Databricks Table Constraints API

The Databricks Table Constraints API allows you to create and delete primary key and foreign key constraints on Unity Catalog tables. Table constraints define relationships between tables, supporting data integrity and enabling query optimization across the lakehouse.