Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dbt-bigquery supports and enforces primary key constraints (#4419)
### Previews - [Terms: Primary key - Data warehouse support for primary keys](https://docs-getdbt-com-git-dbeatty-bigquery-primary-ke-d59f0b-dbt-labs.vercel.app/terms/primary-key#data-warehouse-support-for-primary-keys) - [Model contracts: Platform constraint support](https://docs-getdbt-com-git-dbeatty-bigquery-primary-ke-d59f0b-dbt-labs.vercel.app/docs/collaborate/govern/model-contracts#platform-constraint-support) ## What are you changing in this pull request and why? @bnaul called out [here](dbt-labs/dbt-bigquery#865 (comment)) that some [documentation](https://docs.getdbt.com/terms/primary-key#google-bigquery) isn't in alignment with the [source code](https://github.com/dbt-labs/dbt-bigquery/blob/64e042a2349f17342f7af96d559e4e3a5138a49e/dbt/adapters/bigquery/impl.py#L115) (which asserts that dbt-bigquery supports and enforces primary key constraints). Here are some other docs that should all be in alignment, but aren't: ### Model contracts: Platform constraint support https://docs.getdbt.com/docs/collaborate/govern/model-contracts#platform-constraint-support <img width="500" alt="image" src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/5cd7e1f6-7c82-4c82-b07c-0bfdd9e4a032"> ### constraints: Platform-specific support https://docs.getdbt.com/reference/resource-properties/constraints#platform-specific-support <img width="500" alt="image" src="https://github.com/dbt-labs/docs.getdbt.com/assets/44704949/046c732a-6262-4290-952a-a24cbdf76ead"> ## Checklist - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) and [About versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) so my content adheres to these guidelines. - [x] I've checked that the preview renders correctly - [ ] I've checked that that code behaves as described
- Loading branch information