Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gecko655/1eaab4eca6c8351dabc1b65de7e47db4 to your computer and use it in GitHub Desktop.
Save gecko655/1eaab4eca6c8351dabc1b65de7e47db4 to your computer and use it in GitHub Desktop.
2021-02-26T12:43:08.637+0900 [INFO] plugin: configuring client automatic mTLS
2021-02-26T12:43:08.656+0900 [DEBUG] plugin: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.52.0/darwin_amd64/terraform-provider-google_v3.52.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/google/3.52.0/darwin_amd64/terraform-provider-google_v3.52.0_x5]
2021-02-26T12:43:08.667+0900 [DEBUG] plugin: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.52.0/darwin_amd64/terraform-provider-google_v3.52.0_x5 pid=30310
2021-02-26T12:43:08.667+0900 [DEBUG] plugin: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.52.0/darwin_amd64/terraform-provider-google_v3.52.0_x5
2021-02-26T12:43:08.684+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: configuring server automatic mTLS: timestamp=2021-02-26T12:43:08.684+0900
2021-02-26T12:43:08.704+0900 [DEBUG] plugin.terraform-provider-google_v3.52.0_x5: plugin address: address=/var/folders/l4/pfr9btzd21d8d7_r5xw4rhwwcksv15/T/plugin629502029 network=unix timestamp=2021-02-26T12:43:08.704+0900
2021-02-26T12:43:08.704+0900 [DEBUG] plugin: using plugin: version=5
2021-02-26T12:43:08.785+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [INFO] Authenticating using DefaultClient...: timestamp=2021-02-26T12:43:08.785+0900
2021-02-26T12:43:08.785+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/cloud-identity https://www.googleapis.com/auth/ndev.clouddns.readwrite https://www.googleapis.com/auth/devstorage.full_control https://www.googleapis.com/auth/userinfo.email]: timestamp=2021-02-26T12:43:08.785+0900
google_bigquery_table.dest_table: Modifying... [id=projects/dest_project/datasets/dest_dataset/tables/dest_table]
2021/02/26 12:43:08 [DEBUG] EvalApply: ProviderMeta config value set
2021/02/26 12:43:08 [DEBUG] google_bigquery_table.dest_table: applying the planned Update change
2021-02-26T12:43:08.794+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [INFO] Updating BigQuery table: projects/dest_project/datasets/dest_dataset/tables/dest_table: timestamp=2021-02-26T12:43:08.794+0900
2021-02-26T12:43:08.794+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [INFO] Instantiating Google Cloud BigQuery client for path https://bigquery.googleapis.com/bigquery/v2/: timestamp=2021-02-26T12:43:08.794+0900
2021-02-26T12:43:08.795+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-02-26T12:43:08.795+0900
2021-02-26T12:43:08.795+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-02-26T12:43:08.795+0900
2021-02-26T12:43:08.795+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [DEBUG] Retry Transport: starting RoundTrip retry loop: timestamp=2021-02-26T12:43:08.795+0900
2021-02-26T12:43:08.795+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [DEBUG] Retry Transport: request attempt 0: timestamp=2021-02-26T12:43:08.795+0900
2021-02-26T12:43:08.795+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:08 [DEBUG] Google API Request Details:
---[ REQUEST ]---------------------------------------
PUT /bigquery/v2/projects/dest_project/datasets/dest_dataset/tables/dest_table?alt=json&prettyPrint=false HTTP/1.1
Host: bigquery.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/0.14.4 (+https://www.terraform.io) Terraform-Plugin-SDK/2.4.0 terraform-provider-google/dev
Content-Length: 669
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.14.5 gdcl/20201023
Accept-Encoding: gzip
{
"materializedView": {
"enableRefresh": true,
"query": "SELECT\n user_id,\n DATE_TRUNC(date, MONTH) month,\n min(date) monthly_first_login_date,\nFROM source_project.source_dataset.source_table \nGROUP BY 1,2\n",
"refreshIntervalMs": "1800000"
},
"schema": {
"fields": [
{
"mode": "NULLABLE",
"name": "user_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "momth",
"type": "DATE"
},
{
"mode": "NULLABLE",
"name": "monthly_first_login_date",
"type": "DATE"
}
]
},
"tableReference": {
"datasetId": "dest_dataset",
"projectId": "dest_project",
"tableId": "dest_table"
}
}
-----------------------------------------------------: timestamp=2021-02-26T12:43:08.795+0900
2021-02-26T12:43:09.416+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:09 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 400 Bad Request
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 26 Feb 2021 03:43:09 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
13c
{
"error": {
"code": 400,
"message": "Schema update for materialized views is not supported.",
"errors": [
{
"message": "Schema update for materialized views is not supported.",
"domain": "global",
"reason": "invalid"
}
],
"status": "INVALID_ARGUMENT"
}
}
0
-----------------------------------------------------: timestamp=2021-02-26T12:43:09.416+0900
2021-02-26T12:43:09.416+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:09 [DEBUG] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 400 with body: HTTP/1.1 400 Bad Request
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 26 Feb 2021 03:43:09 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
13c
{
"error": {
"code": 400,
"message": "Schema update for materialized views is not supported.",
"errors": [
{
"message": "Schema update for materialized views is not supported.",
"domain": "global",
"reason": "invalid"
}
],
"status": "INVALID_ARGUMENT"
}
}
0
: timestamp=2021-02-26T12:43:09.416+0900
2021-02-26T12:43:09.416+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:09 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-02-26T12:43:09.416+0900
2021-02-26T12:43:09.416+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:09 [DEBUG] Retry Transport: Stopping retries, last request failed with non-retryable error: googleapi: got HTTP response code 400 with body: HTTP/1.1 400 Bad Request
Connection: close
Transfer-Encoding: chunked
Alt-Svc: h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Fri, 26 Feb 2021 03:43:09 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0
13c
{
"error": {
"code": 400,
"message": "Schema update for materialized views is not supported.",
"errors": [
{
"message": "Schema update for materialized views is not supported.",
"domain": "global",
"reason": "invalid"
}
],
"status": "INVALID_ARGUMENT"
}
}
0
: timestamp=2021-02-26T12:43:09.416+0900
2021-02-26T12:43:09.416+0900 [INFO] plugin.terraform-provider-google_v3.52.0_x5: 2021/02/26 12:43:09 [DEBUG] Retry Transport: Returning after 1 attempts: timestamp=2021-02-26T12:43:09.416+0900
2021/02/26 12:43:09 [DEBUG] google_bigquery_table.dest_table: apply errored, but we're indicating that via the Error pointer rather than returning it: googleapi: Error 400: Schema update for materialized views is not supported., invalid
Error: googleapi: Error 400: Schema update for materialized views is not supported., invalid
2021-02-26T12:43:09.564+0900 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2021-02-26T12:43:09.567+0900 [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/google/3.52.0/darwin_amd64/terraform-provider-google_v3.52.0_x5 pid=30310
2021-02-26T12:43:09.567+0900 [DEBUG] plugin: plugin exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment