Repository navigation
Carry the ClickHouse patches from v2.24.0 onto v2.26.6 - #15
Merged
thevar1able merged 8 commits intoOct 30, 2026
Merged
Conversation
(cherry picked from commit 173aaa2)
(cherry picked from commit ab031e1)
(cherry picked from commit b045926)
(cherry picked from commit a9df250)
(cherry picked from commit 6441802)
(cherry picked from commit 3434577)
The previous patch wrapped the `typed_->size() != matrix_rows` invariant in `#if 0`, which disabled it for both the new (`exclude_vectors = true`) and the legacy (`exclude_vectors = false`) load paths. On the legacy path this check is needed to fail fast on a corrupted/inconsistent serialized payload. Condition the check on `!config.exclude_vectors` so the legacy path keeps its safety invariant while the new `exclude_vectors` path, which intentionally skips the vector matrix header (so `matrix_rows` stays 0), is unaffected. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> (cherry picked from commit 13ae946)
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.
Rebases the ClickHouse patches onto upstream
v2.26.6, original authors preserved.expansion_search, the 512 MB additive allocator cap, bf16 conversion, 8-byte graph allocator alignment, the external accessor, the graph/vector-count check on legacy load, and start.sorted_buffer_gt::insertoverflow fix and its follow-up, and bothceil2overflow patches (checked_ceil2/checked_mulsupersede them).