Skip to content

Commit

Permalink
trying to fix pt.2
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 20, 2023
1 parent d138893 commit 7d12f41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions flow/e2e/bigquery/peer_flow_bq_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ func (s PeerFlowE2ETestSuiteBQ) Test_Soft_Delete_Basic() {
s.compareTableContentsBQ("test_softdel", "id,c1,c2,t")

newerSyncedAtQuery := fmt.Sprintf(`
SELECT COUNT(*) FROM %s.%s WHERE _PEERDB_IS_DELETED = TRUE`,
SELECT COUNT(*) FROM`+"`%s.%s`"+`WHERE _PEERDB_IS_DELETED = TRUE`,
s.bqHelper.datasetName, dstTableName)
numNewRows, err := s.bqHelper.RunIntQuery(newerSyncedAtQuery)
require.NoError(s.t, err)
Expand Down Expand Up @@ -1371,7 +1371,7 @@ func (s PeerFlowE2ETestSuiteBQ) Test_Soft_Delete_IUD_Same_Batch() {
s.compareTableContentsBQ("test_softdel_iud", "id,c1,c2,t")

newerSyncedAtQuery := fmt.Sprintf(`
SELECT COUNT(*) FROM %s.%s WHERE _PEERDB_IS_DELETED = TRUE`,
SELECT COUNT(*) FROM`+"`%s.%s`"+`WHERE _PEERDB_IS_DELETED = TRUE`,
s.bqHelper.datasetName, dstTableName)
numNewRows, err := s.bqHelper.RunIntQuery(newerSyncedAtQuery)
require.NoError(s.t, err)
Expand Down Expand Up @@ -1459,7 +1459,7 @@ func (s PeerFlowE2ETestSuiteBQ) Test_Soft_Delete_UD_Same_Batch() {
s.compareTableContentsBQ("test_softdel_ud", "id,c1,c2,t")

newerSyncedAtQuery := fmt.Sprintf(`
SELECT COUNT(*) FROM %s.%s WHERE _PEERDB_IS_DELETED = TRUE`,
SELECT COUNT(*) FROM`+"`%s.%s`"+`WHERE _PEERDB_IS_DELETED = TRUE`,
s.bqHelper.datasetName, dstTableName)
numNewRows, err := s.bqHelper.RunIntQuery(newerSyncedAtQuery)
require.NoError(s.t, err)
Expand Down Expand Up @@ -1535,7 +1535,7 @@ func (s PeerFlowE2ETestSuiteBQ) Test_Soft_Delete_Insert_After_Delete() {
s.compareTableContentsBQ("test_softdel_iad", "id,c1,c2,t")

newerSyncedAtQuery := fmt.Sprintf(`
SELECT COUNT(*) FROM %s.%s WHERE _PEERDB_IS_DELETED = TRUE`,
SELECT COUNT(*) FROM`+"`%s.%s`"+`WHERE _PEERDB_IS_DELETED = TRUE`,
s.bqHelper.datasetName, dstTableName)
numNewRows, err := s.bqHelper.RunIntQuery(newerSyncedAtQuery)
require.NoError(s.t, err)
Expand Down

0 comments on commit 7d12f41

Please sign in to comment.