Skip to content

Commit

Permalink
minor fixes pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Jan 3, 2024
1 parent e6c03b0 commit 653da11
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion flow/connectors/postgres/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,6 @@ func (c *PostgresConnector) NormalizeRecords(req *model.NormalizeRecordsRequest)
}
normalizeStatements := c.generateNormalizeStatements(destinationTableName, unchangedToastColsMap[destinationTableName],
rawTableIdentifier, supportsMerge, &peerdbCols)
fmt.Println(normalizeStatements)
for _, normalizeStatement := range normalizeStatements {
mergeStatementsBatch.Queue(normalizeStatement, batchIDs.NormalizeBatchID, batchIDs.SyncBatchID, destinationTableName).Exec(
func(ct pgconn.CommandTag) error {
Expand Down
2 changes: 1 addition & 1 deletion flow/e2e/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func SetupCDCFlowStatusQuery(env *testsuite.TestWorkflowEnvironment,
slog.Error(err.Error())
}

if state.CurrentFlowState == protos.FlowStatus_STATUS_RUNNING.Enum() {
if *state.CurrentFlowState == protos.FlowStatus_STATUS_RUNNING {
break
}
} else {
Expand Down

0 comments on commit 653da11

Please sign in to comment.