Skip to content

Commit

Permalink
BigQuery: Fix return mergeErr (#1497)
Browse files Browse the repository at this point in the history
We were returning a wrong error object in BigQuery's merge
  • Loading branch information
Amogh-Bharadwaj authored Mar 18, 2024
1 parent 1110158 commit 38d52d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ func (c *BigQueryConnector) NormalizeRecords(ctx context.Context, req *model.Nor
SoftDelete: req.SoftDelete,
})
if mergeErr != nil {
return nil, err
return nil, mergeErr
}

err = c.pgMetadata.UpdateNormalizeBatchID(ctx, req.FlowJobName, batchId)
Expand Down

0 comments on commit 38d52d7

Please sign in to comment.