Skip to content

Commit

Permalink
Fix #1662 (#1663)
Browse files Browse the repository at this point in the history
continue wasn't doing anything
  • Loading branch information
serprex authored May 2, 2024
1 parent c1852cf commit 717b299
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow/connectors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ func (c *BigQueryConnector) ReplayTableSchemaDeltas(
continue
}

AddedColumnsLoop:
for _, addedColumn := range schemaDelta.AddedColumns {
dstDatasetTable, _ := c.convertToDatasetTable(schemaDelta.DstTableName)
table := c.client.DatasetInProject(c.projectID, dstDatasetTable.dataset).Table(dstDatasetTable.table)
Expand All @@ -228,7 +229,7 @@ func (c *BigQueryConnector) ReplayTableSchemaDeltas(
if field.Name == addedColumn.Name {
c.logger.Info(fmt.Sprintf("[schema delta replay] column %s already exists in table %s",
addedColumn.Name, schemaDelta.DstTableName))
continue
continue AddedColumnsLoop
}
}

Expand Down

0 comments on commit 717b299

Please sign in to comment.