Skip to content

Commit

Permalink
chore: sync release v1.42.4 to main branch (#5496)
Browse files Browse the repository at this point in the history
  • Loading branch information
devops-github-rudderstack authored Feb 10, 2025
1 parent 4938a25 commit 4854220
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [1.42.4](https://github.com/rudderlabs/rudder-server/compare/v1.42.3...v1.42.4) (2025-02-10)


### Bug Fixes

* databricks columns to add becomes empty after filtering ([#5494](https://github.com/rudderlabs/rudder-server/issues/5494)) ([462aeef](https://github.com/rudderlabs/rudder-server/commit/462aeef76866dc86b391bd52634899082a7cc7db))

## [1.42.3](https://github.com/rudderlabs/rudder-server/compare/v1.42.2...v1.42.3) (2025-02-10)


Expand Down
3 changes: 3 additions & 0 deletions warehouse/integrations/deltalake/deltalake.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,9 @@ func (d *Deltalake) AddColumns(ctx context.Context, tableName string, columnsInf
_, ok := tableSchema[columnInfo.Name]
return !ok
})
if len(columnsToAddInfo) == 0 {
return nil
}

var queryBuilder strings.Builder

Expand Down
4 changes: 2 additions & 2 deletions warehouse/integrations/deltalake/deltalake_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1376,8 +1376,8 @@ func TestIntegration(t *testing.T) {
},
}

err = d.AddColumns(ctx, tableName, columnsToAdd)
require.NoError(t, err)
require.NoError(t, d.AddColumns(ctx, tableName, columnsToAdd))
require.NoError(t, d.AddColumns(ctx, tableName, columnsToAdd))

schema, err := d.FetchSchema(ctx)
require.NoError(t, err)
Expand Down

0 comments on commit 4854220

Please sign in to comment.