From 6da675e5824675a284b713a3549cac20b0267d18 Mon Sep 17 00:00:00 2001 From: Kevin Biju Date: Thu, 28 Sep 2023 22:03:17 +0530 Subject: [PATCH] added WriteMode for Snapshot config, since we assert that for overwrite now --- flow/workflows/snapshot_flow.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flow/workflows/snapshot_flow.go b/flow/workflows/snapshot_flow.go index 8d4d5faf90..585ae0bc25 100644 --- a/flow/workflows/snapshot_flow.go +++ b/flow/workflows/snapshot_flow.go @@ -148,6 +148,9 @@ func (s *SnapshotFlowExecution) cloneTable( SyncMode: s.config.SnapshotSyncMode, MaxParallelWorkers: numWorkers, StagingPath: s.config.SnapshotStagingPath, + WriteMode: &protos.QRepWriteMode{ + WriteType: protos.QRepWriteType_QREP_WRITE_MODE_APPEND, + }, } numPartitionsProcessed := 0