Skip to content

Commit

Permalink
Update bigquery-configs.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Oct 16, 2024
1 parent 4f71cf4 commit d6e6d74
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions website/docs/reference/resource-configs/bigquery-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ If your model has `partition_by` configured, you may optionally specify two addi

</File>

### Clustering Clause
### Clustering clause

BigQuery tables can be [clustered](https://cloud.google.com/bigquery/docs/clustered-tables) to colocate related data.

Expand All @@ -286,7 +286,7 @@ select * from ...

</File>

Clustering on a multiple columns:
Clustering on multiple columns:

<File name='bigquery_table.sql'>

Expand All @@ -303,11 +303,11 @@ select * from ...

</File>

## Managing KMS Encryption
## Managing KMS encryption

[Customer managed encryption keys](https://cloud.google.com/bigquery/docs/customer-managed-encryption) can be configured for BigQuery tables using the `kms_key_name` model configuration.

### Using KMS Encryption
### Using KMS encryption

To specify the KMS key name for a model (or a group of models), use the `kms_key_name` model configuration. The following example sets the `kms_key_name` for all of the models in the `encrypted/` directory of your dbt project.

Expand All @@ -328,7 +328,7 @@ models:
</File>
## Labels and Tags
## Labels and tags
### Specifying labels
Expand Down Expand Up @@ -373,8 +373,6 @@ models:

</File>



<Lightbox src="/img/docs/building-a-dbt-project/building-models/73eaa8a-Screen_Shot_2020-01-20_at_12.12.54_PM.png" title="Viewing labels in the BigQuery console"/>

### Specifying tags
Expand Down Expand Up @@ -673,7 +671,7 @@ select ...

</File>

## Authorized Views
## Authorized views

If the `grant_access_to` config is specified for a model materialized as a
view, dbt will grant the view model access to select from the list of datasets
Expand Down

0 comments on commit d6e6d74

Please sign in to comment.