Skip to content

Commit ac878b3

Browse files
Add definition of table_replication_info to public documentation and bigquery/Table.yaml (#10711) (#7401)
[upstream:431220d98f98e65a534e8b6c97ee342d6c694b8f] Signed-off-by: Modular Magician <[email protected]>
1 parent b081e8c commit ac878b3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

website/docs/r/bigquery_table.html.markdown

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ in Terraform state, a `terraform destroy` or `terraform apply` that would delete
167167
* `table_constraints` - (Optional) Defines the primary key and foreign keys.
168168
Structure is [documented below](#nested_table_constraints).
169169

170+
* `table_replication_info` - (Optional) Replication info of a table created
171+
using "AS REPLICA" DDL like:
172+
`CREATE MATERIALIZED VIEW mv1 AS REPLICA OF src_mv`.
173+
Structure is [documented below](#nested_table_replication_info).
174+
170175
* `resource_tags` - (Optional, [Beta](https://terraform.io/docs/providers/google/guides/provider_versions.html))
171176
This field is in beta. The tags attached to this table. Tag keys are
172177
globally unique. Tag key is expected to be in the namespaced format, for
@@ -471,6 +476,17 @@ in Terraform state, a `terraform destroy` or `terraform apply` that would delete
471476
* `referenced_column`: (Required) The column in the primary key that are
472477
referenced by the referencingColumn
473478

479+
<a name="nested_table_replication_info"></a>The `table_replication_info` block supports:
480+
481+
* `source_project_id` (Required) - The ID of the source project.
482+
483+
* `source_dataset_id` (Required) - The ID of the source dataset.
484+
485+
* `source_table_id` (Required) - The ID of the source materialized view.
486+
487+
* `replication_interval_ms` (Optional) - The interval at which the source
488+
materialized view is polled for updates. The default is 300000.
489+
474490
## Attributes Reference
475491

476492
In addition to the arguments listed above, the following computed attributes are

0 commit comments

Comments
 (0)