diff --git a/mmv1/third_party/terraform/services/bigquery/resource_bigquery_table.go.tmpl b/mmv1/third_party/terraform/services/bigquery/resource_bigquery_table.go.tmpl index d1a0c7b1f18d..95589e22b57b 100644 --- a/mmv1/third_party/terraform/services/bigquery/resource_bigquery_table.go.tmpl +++ b/mmv1/third_party/terraform/services/bigquery/resource_bigquery_table.go.tmpl @@ -2084,7 +2084,11 @@ func resourceBigQueryTableColumnDrop(config *transport_tpg.Config, userAgent str } if len(droppedColumns) > 0 { - droppedColumnsString := strings.Join(droppedColumns, ", DROP COLUMN ") + backquotedDroppedColumns := []string{} + for _, column := range droppedColumns { + backquotedDroppedColumns = append(backquotedDroppedColumns, fmt.Sprintf("`%s`", column)) + } + droppedColumnsString := strings.Join(backquotedDroppedColumns, ", DROP COLUMN ") dropColumnsDDL := fmt.Sprintf("ALTER TABLE `%s.%s.%s` DROP COLUMN %s", tableReference.project, tableReference.datasetID, tableReference.tableID, droppedColumnsString) log.Printf("[INFO] Dropping columns in-place: %s", dropColumnsDDL)