diff --git a/flow/connectors/bigquery/bigquery.go b/flow/connectors/bigquery/bigquery.go index e4594688ef..7383bac2a6 100644 --- a/flow/connectors/bigquery/bigquery.go +++ b/flow/connectors/bigquery/bigquery.go @@ -831,6 +831,7 @@ func (c *BigQueryConnector) syncRecordsViaAvro( } } + close(recordStream.Records) avroSync := NewQRepAvroSyncMethod(c, req.StagingPath) rawTableMetadata, err := c.client.Dataset(c.datasetID).Table(rawTableName).Metadata(c.ctx) if err != nil {