https://delta.io logo
r

Rajat Mishra

04/26/2023, 6:38 AM
Hi Team. Primary key and reference key constraints for deltalake are in public preview on databricks. Are there any plans to bring this feature to OSS Deltalake ?
g

Gerhard Brueckl

04/26/2023, 6:40 AM
If I am not mistaken this is more a feature of Unity Catalog than of Delta Lake so I dont think this will come to OSS soon also in Databricks, this is just metadata and is not yet used for any optimization etc.
r

Rajat Mishra

04/26/2023, 6:46 AM
Yeah.. it seems so. Foreign Key constraints can only be used with unity catalog.
also in Databricks, this is just metadata and is not yet used for any optimization etc.
aren't these suppose to work as other constraint checks ?
c

Chris

04/26/2023, 6:46 AM
I’m not sure I think you normally get a little green check mark at the top of the page if it is unity catalogue specific
g

Gerhard Brueckl

04/26/2023, 6:48 AM
Delta Lake currently only has a concept of a single, independent table - so defining external dependencies like PK/FK constraints currently cannot work
👍 1
9 Views