GoogleCloudPlatform / k8s-config-connector

GCP Config Connector, a Kubernetes add-on for managing GCP resources
https://cloud.google.com/config-connector/docs/overview
Apache License 2.0
893 stars 222 forks source link

BigQueryTable spec.schema cannot be updated #2975

Open vs-odie opened 22 hours ago

vs-odie commented 22 hours ago

Checklist

Describe the feature or resource

currently, the json schema for bigquery tables cannot get updated with kcc, even if this is not indicated in the documentation.

when trying to update we are receiving the following error

bigquerytable-controller Update call failed: cannot make changes to immutable field(s): [Field Name: schema, Got: [{"description":"column created initially with kcc","mode":"REQUIRED","name":"test_column","type":"STRING"},{"description":"column created with kcc on an already existing datatable","mode":"REQUIRED","name":"test_column_2","type":"STRING"}], Wanted: [{"description":"column created initially with kcc","mode":"REQUIRED","name":"test_column","type":"STRING"}]]; please refer to our troubleshooting doc: https://cloud.google.com/config-connector/docs/troubleshooting

is it actually intended, that the table schema cannot get updated with kcc?

Additional information

No response

Importance

No response

alexguanga commented 5 hours ago

@vs-odie - There's a similar issue already opened for this. I am also running into a similar issue 😔. (I am assuming kcc is an acronym for Kubernetes Config Connector btw?)