Skip to content

Commit

Permalink
fix test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik committed Oct 30, 2023
1 parent e515a5c commit f65b582
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion flow/connectors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,6 @@ 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
1 change: 0 additions & 1 deletion flow/connectors/s3/s3.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func (c *S3Connector) SyncRecords(req *model.SyncRecordsRequest) (*model.SyncRes
partition := &protos.QRepPartition{
PartitionId: fmt.Sprint(syncBatchID),
}
close(recordStream.Records)
numRecords, err := c.SyncQRepRecords(qrepConfig, partition, recordStream)
if err != nil {
return nil, err
Expand Down

0 comments on commit f65b582

Please sign in to comment.