Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed May 4, 2024
1 parent 535c492 commit b592d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/destination/dml/merge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ func TestMergeStatementEscapePrimaryKeys(t *testing.T) {
func TestMergeArgument_RedshiftEqualitySQLParts(t *testing.T) {
mergeArg := MergeArgument{
PrimaryKeys: []columns.Column{columns.NewColumn("col1", typing.Invalid), columns.NewColumn("col2", typing.Invalid)},
Dialect: sql.SnowflakeDialect{},
Dialect: sql.RedshiftDialect{},
}
assert.Equal(t, []string{`c."COL1" = cc."COL1"`, `c."COL2" = cc."COL2"`}, mergeArg.redshiftEqualitySQLParts())
assert.Equal(t, []string{`c."col1" = cc."col1"`, `c."col2" = cc."col2"`}, mergeArg.redshiftEqualitySQLParts())
}

func TestMergeArgument_BuildRedshiftInsertQuery(t *testing.T) {
Expand Down

0 comments on commit b592d4f

Please sign in to comment.