Skip to content

Commit

Permalink
fixing review comments pt.1
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 23, 2023
1 parent 152fa9a commit 8d8b035
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions flow/connectors/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -825,11 +825,6 @@ func (c *BigQueryConnector) NormalizeRecords(req *model.NormalizeRecordsRequest)
c.datasetID, MirrorJobsTable, syncBatchID, req.FlowJobName)
stmts = append(stmts, updateMetadataStmt)
stmts = append(stmts, "COMMIT TRANSACTION;")
fmt.Println(stmts)

// put this within a transaction
// TODO - not truncating rows in staging table as of now.
// err = c.truncateTable(staging...)

_, err = c.client.Query(strings.Join(stmts, "\n")).Read(c.ctx)
if err != nil {
Expand Down

0 comments on commit 8d8b035

Please sign in to comment.