Skip to content
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

Change table name in bigquery data config tests #6605

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/3643.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
4 changes: 2 additions & 2 deletions google/resource_bigquery_data_transfer_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ resource "google_bigquery_data_transfer_config" "query_config" {
schedule = "%s sunday of quarter 00:00"
destination_dataset_id = google_bigquery_dataset.my_dataset.dataset_id
params = {
destination_table_name_template = "my-table"
destination_table_name_template = "my_table"
write_disposition = "WRITE_APPEND"
query = "SELECT name FROM tabl WHERE x = '%s'"
}
Expand Down Expand Up @@ -211,7 +211,7 @@ resource "google_bigquery_data_transfer_config" "query_config" {
destination_dataset_id = google_bigquery_dataset.my_dataset.dataset_id
service_account_name = google_service_account.bqwriter.email
params = {
destination_table_name_template = "my-table"
destination_table_name_template = "my_table"
write_disposition = "WRITE_APPEND"
query = "SELECT 1 AS a"
}
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/bigquery_data_transfer_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To get more information about Config, see:
* How-to Guides
* [Official Documentation](https://cloud.google.com/bigquery/docs/reference/datatransfer/rest/)

## Example Usage - Scheduled Query
## Example Usage - Bigquerydatatransfer Config Scheduled Query


```hcl
Expand All @@ -53,7 +53,7 @@ resource "google_bigquery_data_transfer_config" "query_config" {
schedule = "first sunday of quarter 00:00"
destination_dataset_id = google_bigquery_dataset.my_dataset.dataset_id
params = {
destination_table_name_template = "my-table"
destination_table_name_template = "my_table"
write_disposition = "WRITE_APPEND"
query = "SELECT name FROM tabl WHERE x = 'y'"
}
Expand Down