Skip to content

Commit

Permalink
stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Dec 13, 2024
1 parent 92bba72 commit 7b3f323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/workflows/snapshot_flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (s *SnapshotFlowExecution) cloneTable(
if len(mapping.Exclude) != 0 || shared.TableSchemaHasColumnsWithSubstr(tableSchema, "-") {
quotedColumns := make([]string, 0, len(tableSchema.Columns))
for _, col := range tableSchema.Columns {
if !slices.Contains(mapping.Exclude, col.Name) {
if !slices.Contains(mapping.Exclude, col.Name) && !strings.Contains(col.Name, "-") {
quotedColumns = append(quotedColumns, connpostgres.QuoteIdentifier(col.Name))
}
}
Expand Down

0 comments on commit 7b3f323

Please sign in to comment.