Skip to content

Commit

Permalink
fix update statements to split unchangedToastCols properly
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Jan 7, 2024
1 parent 08cd36d commit 9aa0683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/bigquery/merge_statement_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func (m *mergeStmtGenerator) generateUpdateStatements(
updateStmts := make([]string, 0, len(unchangedToastCols))

for _, cols := range unchangedToastCols {
unchangedColsArray := strings.Split(cols, ", ")
unchangedColsArray := strings.Split(cols, ",")
otherCols := utils.ArrayMinus(allCols, unchangedColsArray)
tmpArray := make([]string, 0, len(otherCols))
for _, colName := range otherCols {
Expand Down

0 comments on commit 9aa0683

Please sign in to comment.