-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add for BigQuery, since they now support FK & PK #47
Comments
Plus 1 to the above. This would be an awesome addition! |
Ditto - BigQuery support would be a game changer! |
I'd love to see this feature please! |
Thanks for the issue! I would like to have this as well. |
+1 |
Hey everyone - I've got a PR ready for BQ. #73. It could use some further testing probably. @MaximusMcCann @helfi92 @sudoryan @fayaazkhatri @unstoppable-allensun @adamferguson1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can now define Foreign and Primary keys on table columns in BigQuery. Would love to see this implemented 🙏 ❤️
Google docs regarding adding FK and PK constraints.
https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language#alter_table_add_constraint_statement
Queries to pull the information off the schema about FK & PK.
https://cloud.google.com/bigquery/docs/information-schema-constraint-column-usage
https://cloud.google.com/bigquery/docs/information-schema-key-column-usage
https://cloud.google.com/bigquery/docs/information-schema-table-constraints
General spot for BQ schema information: https://cloud.google.com/bigquery/docs/information-schema-intro
The text was updated successfully, but these errors were encountered: