Skip to content

Commit

Permalink
close channel for BQ avro writer
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Oct 30, 2023
1 parent ecea49b commit 8a31900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/connectors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8a31900

Please sign in to comment.