cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Primary/Foreign key Costraints on Delta tables?

Ruby8376
Valued Contributor

Hi All!

I am using databricks in data migration project . We need to transform the data before loading it to SalesForce. Can we do Primary key/foreign key constraints on databricks delta tables?

2 REPLIES 2

-werners-
Esteemed Contributor III

that is not yet possible. There are only NOT NULL and CHECK constraints.

https://docs.microsoft.com/en-us/azure/databricks/delta/delta-constraints

Anonymous
Not applicable

Hi @Ruby Rubi​  following- up did you get a chance to check @Werner Stinckens​ previous comments or do you need any further help on this?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.