Skip to content

Commit

Permalink
make it 8 (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
iskakaushik authored Jan 12, 2024
1 parent 0c73650 commit 53da969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/connectors/bigquery/merge_stmt_generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (m *mergeStmtGenerator) generateMergeStmt(unchangedToastColumns []string) s
func (m *mergeStmtGenerator) generateMergeStmts() []string {
// TODO (kaushik): This is so that the statement size for individual merge statements
// doesn't exceed the limit. We should make this configurable.
const batchSize = 4
const batchSize = 8
partitions := utils.ArrayChunks(m.unchangedToastColumns, batchSize)

mergeStmts := make([]string, 0, len(partitions))
Expand Down

0 comments on commit 53da969

Please sign in to comment.