Skip to content

Commit

Permalink
Correct notes on BQ constraint definition and enforcement.
Browse files Browse the repository at this point in the history
  • Loading branch information
elyobo authored Dec 20, 2023
1 parent c5e0f60 commit 208df78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/reference/resource-properties/constraints.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ select

<div warehouse="BigQuery">

BigQuery allows defining `not null` constraints. However, it does _not_ support or enforce the definition of unenforced constraints, such as `primary key`.
BigQuery allows defining and enforcing `not null` constraints, and defining (but _not_ enforcing) `primary key` and `foreign key` constraints (which may be used for query optimization). BigQuery does not support defining or enforcing other constraints.

Documentation: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language

Expand Down

0 comments on commit 208df78

Please sign in to comment.