From d2c5720a9fba8a4e05bd4b748f73f66a5025a5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Sat, 10 Feb 2024 01:37:45 +0000 Subject: [PATCH] fix bug 1 --- flow/connectors/bigquery/bigquery.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flow/connectors/bigquery/bigquery.go b/flow/connectors/bigquery/bigquery.go index ffafcb950..451f42fb4 100644 --- a/flow/connectors/bigquery/bigquery.go +++ b/flow/connectors/bigquery/bigquery.go @@ -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