Skip to content

Commit

Permalink
Redo
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed May 13, 2024
1 parent dc7d081 commit 456849b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/shared/append.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ func Append(dwh destination.DataWarehouse, tableData *optimization.TableData, op
return fmt.Errorf("failed to get table config: %w", err)
}

srcColumns, _ := columns.RemoveDeleteColumnMarker(tableData.ReadOnlyInMemoryCols().GetColumns())
tableData.ReadOnlyInMemoryCols().DeleteColumn(constants.DeleteColumnMarker)

// We don't care about srcKeysMissing because we don't drop columns when we append.
_, targetKeysMissing := columns.Diff(
srcColumns,
tableData.ReadOnlyInMemoryCols().GetColumns(),
tableConfig.Columns().GetColumns(),
false,
tableData.TopicConfig().IncludeArtieUpdatedAt,
Expand Down

0 comments on commit 456849b

Please sign in to comment.