Open dequire opened 11 months ago
It appears the api drops the description.
schema in the request
"schema": {
"fields": [
{
"description": "Date of the Day",
"mode": "NULLABLE",
"name": "DATE_KEY",
"type": "DATE"
},
{
"description": "Product key",
"mode": "NULLABLE",
"name": "ITEM_KEY",
"type": "INTEGER"
},
{
"description": "Test Marek",
"mode": "NULLABLE",
"name": "DUMMY",
"type": "INTEGER"
}
]
},
schema in the response
"schema": {
"fields": [
{
"name": "DATE_KEY",
"type": "DATE",
"mode": "NULLABLE"
},
{
"name": "ITEM_KEY",
"type": "INTEGER",
"mode": "NULLABLE"
},
{
"name": "DUMMY",
"type": "INTEGER",
"mode": "NULLABLE"
}
]
},
I think this is similar to #12616 .
When I try to terraform apply
again, the descriptions are updated.
@takotakot , sounds about right. We're also doing double apply to work around this issue currently.
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Terraform v1.6.4 on darwin_arm64
Affected Resource(s)
google_bigquery_table
Terraform Configuration Files
Debug Output
Too long - attached as file. terraform-debug-log.txt
Expected Behavior
A new column should be added to the view named "DUMMY" with description "Test Marek"
Actual Behavior
New column is added, but description is blank - for all columns, not just the one which was added.
Steps to Reproduce
Important Factoids
There is one suspicious line in log, which ways that invalid plan was produced.
References
b/314616737