Skip to content

Commit

Permalink
fix bug 1
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Feb 10, 2024
1 parent 04029b5 commit d2c5720
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flow/connectors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,11 +407,11 @@ func (c *BigQueryConnector) getTableNametoUnchangedCols(flowJobName string, sync
resultMap := make(map[string][]string)

// Process the query results using an iterator.
var row struct {
Tablename string `bigquery:"_peerdb_destination_table_name"`
UnchangedToastColumns []string `bigquery:"unchanged_toast_columns"`
}
for {
var row struct {
Tablename string `bigquery:"_peerdb_destination_table_name"`
UnchangedToastColumns []string `bigquery:"unchanged_toast_columns"`
}
err := it.Next(&row)
if err == iterator.Done {
break
Expand Down

0 comments on commit d2c5720

Please sign in to comment.