Add support for *unenforced* primary and foreign keys #323
gahtan-syarif
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bigquery, databricks, and snowflake has support for unenforced primary and foreign keys. While it is not enforced, it is also not purely for decoration, as it opens the door for query engines to better optimize for JOIN queries as seen here. On top of that, this would allow ducklake to better integrate with ERD creation tools. This feature should be trivial to implement as duckdb does not have to enforce the constraints.
Beta Was this translation helpful? Give feedback.
All reactions