Repository navigation
chore(warehouse): replace dead clickhouse blockSize with commitEvery - #7427
Merged
Merged
Conversation
Warehouse.clickhouse.blockSize is no longer read. The v1 driver was removed in #7417 and the v2 equivalent is Warehouse.clickhouse.commitEvery, so the shipped value had no effect. The only blockSize left in the tree is the warehouse.clickhouse.blockSize stats histogram, which is unrelated. Not replaced with commitEvery. blockSize: 1000 was a v1 value for a different mechanism, and production commitEvery values run 25k-250k against a code default of 1000000, so carrying 1000 across would assert a tuning decision with no basis. Unset means the driver default applies. enableArraySupport stays - it is still read by the processor and passed to the destination transformer as chEnableArraySupport. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> 🔒 Scanned for secrets using gitleaks 8.29.1
cisse21
approved these changes
Sep 25, 2026
…config Keeps the successor key visible in the shipped config rather than leaving the ClickHouse block with no commit-size knob at all. Set to 1000000, the driver default, so runtime behaviour is unchanged. blockSize was only ever read by the v1 driver; v2 has always fallen through to this default because config.yaml never set the v2 key, so nothing moves either way. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> 🔒 Scanned for secrets using gitleaks 8.29.1
Keeps the value the file already shipped for blockSize rather than the driver default, preserving the conservative posture this config uses elsewhere (poolSize 10 vs 100, maxParallelLoads 3 vs 8). Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> 🔒 Scanned for secrets using gitleaks 8.29.1
This was referenced Sep 28, 2026
Merged
itsmihir
pushed a commit
that referenced
this pull request
Sep 28, 2026
🤖 I have created a release *beep* *boop* --- ## [1.89.0-rc.1](v1.88.0...v1.89.0-rc.1) (2026-09-28) ### Features * **warehouse:** add shared SQL identifier and string literal quoting helpers ([#7406](#7406)) ([814f6db](814f6db)) ### Bug Fixes * **warehouse:** quote azure synapse identifiers ([#7363](#7363)) ([d399fd1](d399fd1)) * **warehouse:** quote bigquery identifiers ([#7366](#7366)) ([89de526](89de526)) * **warehouse:** quote clickhouse identifiers ([#7420](#7420)) ([490c097](490c097)) * **warehouse:** quote deltalake identifiers ([#7368](#7368)) ([08f2f1e](08f2f1e)) * **warehouse:** quote mssql identifiers ([#7364](#7364)) ([695b881](695b881)) * **warehouse:** quote postgres load column list and bind schema existence check ([#7405](#7405)) ([2ff81c1](2ff81c1)) * **warehouse:** quote redshift identifiers ([#7365](#7365)) ([a3e2a3c](a3e2a3c)) * **warehouse:** quote snowflake identifiers ([#7367](#7367)) ([53d4891](53d4891)) ### Miscellaneous * sync release v1.88.0 to main branch ([#7415](#7415)) ([130bdd3](130bdd3)) * **warehouse:** drop the per dialect identifier quoting wrappers ([#7421](#7421)) ([ec0cf52](ec0cf52)) * **warehouse:** drop the v2 suffix now v1 is gone ([#7418](#7418)) ([b759c33](b759c33)) * **warehouse:** move back to upstream clickhouse-go ([#7419](#7419)) ([1a7e776](1a7e776)) * **warehouse:** remove the ClickHouse v1 driver ([#7417](#7417)) ([bd14179](bd14179)) * **warehouse:** replace dead clickhouse blockSize with commitEvery ([#7427](#7427)) ([0806478](0806478)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
itsmihir
pushed a commit
that referenced
this pull request
Sep 29, 2026
🤖 I have created a release *beep* *boop* --- ## [1.89.0](v1.88.0...v1.89.0) (2026-09-28) ### Features * **warehouse:** add shared SQL identifier and string literal quoting helpers ([#7406](#7406)) ([814f6db](814f6db)) ### Bug Fixes * **warehouse:** quote azure synapse identifiers ([#7363](#7363)) ([d399fd1](d399fd1)) * **warehouse:** quote bigquery identifiers ([#7366](#7366)) ([89de526](89de526)) * **warehouse:** quote clickhouse identifiers ([#7420](#7420)) ([490c097](490c097)) * **warehouse:** quote deltalake identifiers ([#7368](#7368)) ([08f2f1e](08f2f1e)) * **warehouse:** quote mssql identifiers ([#7364](#7364)) ([695b881](695b881)) * **warehouse:** quote postgres load column list and bind schema existence check ([#7405](#7405)) ([2ff81c1](2ff81c1)) * **warehouse:** quote redshift identifiers ([#7365](#7365)) ([a3e2a3c](a3e2a3c)) * **warehouse:** quote snowflake identifiers ([#7367](#7367)) ([53d4891](53d4891)) ### Miscellaneous * sync release v1.88.0 to main branch ([#7415](#7415)) ([130bdd3](130bdd3)) * **warehouse:** drop the per dialect identifier quoting wrappers ([#7421](#7421)) ([ec0cf52](ec0cf52)) * **warehouse:** drop the v2 suffix now v1 is gone ([#7418](#7418)) ([b759c33](b759c33)) * **warehouse:** move back to upstream clickhouse-go ([#7419](#7419)) ([1a7e776](1a7e776)) * **warehouse:** remove the ClickHouse v1 driver ([#7417](#7417)) ([bd14179](bd14179)) * **warehouse:** replace dead clickhouse blockSize with commitEvery ([#7427](#7427)) ([0806478](0806478)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Replaces the dead
blockSize: 1000withcommitEvery: 1000in the ClickHouse block ofconfig/config.yaml.clickhouse: maxParallelLoads: 3 queryDebugLogs: false - blockSize: 1000 + commitEvery: 1000 poolSize: 10Why
Warehouse.clickhouse.blockSizeis no longer read. The v1 driver was removed in #7417 and the v2 equivalent isWarehouse.clickhouse.commitEvery, so the shipped value has had no effect since that merged. The onlyblockSizeleft in the tree is thewarehouse.clickhouse.blockSizestats histogram, which is unrelated and untouched.This matters because
config/config.yamlis live config, not documentation — it deliberately overrides code defaults for self-hosted deployments:poolSizemaxParallelLoadscommitEveryCarrying the value across keeps that conservative posture rather than silently handing self-hosted deployments the 1,000,000-row driver default.
Behaviour change — worth a reviewer's attention
This is not a no-op.
blockSizewas only ever read by v1, so anyone running v2 has been getting the 1,000,000 default regardless of what this file said. SettingcommitEvery: 1000brings self-hosted commit size down by three orders of magnitude from what it is today.That means smaller, more frequent inserts: lower peak memory per commit, more round trips. For reference, tuned production values sit between 25,000 and 250,000.
If 1,000 is considered too low for a default, the alternatives are a mid-range value or dropping the key entirely and letting the driver default apply.
Not changed
enableArraySupportstays — still read atprocessor/internal/transformer/destination_transformer/destination_transformer.go:366and passed to the destination transformer aschEnableArraySupport.🤖 Generated with Claude Code