Skip to content

Commit

Permalink
Merge branch 'main' into ui/better-peer-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Amogh-Bharadwaj authored Nov 28, 2023
2 parents 75a9ee5 + 2752413 commit 4c0a3dc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flow/workflows/snapshot_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,11 @@ func (s *SnapshotFlowExecution) cloneTable(
if len(mapping.Exclude) != 0 {
for _, v := range s.config.TableNameSchemaMapping {
if v.TableIdentifier == srcName {
from = strings.Join(maps.Keys(v.Columns), ",")
cols := maps.Keys(v.Columns)
for i, col := range cols {
cols[i] = fmt.Sprintf(`"%s"`, col)
}
from = strings.Join(cols, ",")
break
}
}
Expand Down

0 comments on commit 4c0a3dc

Please sign in to comment.