Repository navigation
Release pull request for branch 26.2 - #97856
robot-clickhouse wants to merge 588 commits into
Conversation
Release PRs (labeled `release` or `release-lts`) don't have changelog categories or entries in the PR body. The `pr_labels_and_category.py` pre-hook was failing, causing Config Workflow to fail and all dependent jobs to be marked as "dropped". The `pr_body_check.py` post-hook was also failing, causing Finish Workflow to fail. Skip both checks for release PRs so CI jobs can run normally. #97856 Co-Authored-By: Claude Opus 4.6 <[email protected]>
| std::cerr << "Use one of the following commands:" << std::endl; | ||
| for (auto & application : clickhouse_applications) | ||
| std::cerr << "clickhouse " << application.first << " [args] " << std::endl; | ||
| return -1; |
There was a problem hiding this comment.
clickhouse help returns -1 instead of 0
Medium Severity
The "help" subcommand was removed from clickhouse_applications, and printHelp was changed from a void helper to a MainFunc returning -1. Running clickhouse help no longer matches any application entry, falls through the routing logic (since "help" doesn't start with -, contain a space, or point to a file), and ultimately calls printHelp which exits with -1. The code comment on line 364 even documents that clickhouse help should dump help, but it now returns a failure exit code (-1, which becomes 255 mod 256) instead of the previous 0.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
There are 5 total unresolved issues (including 4 from previous reviews).
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
The test called `wait_for_query_to_start` without defining it, causing "command not found" (exit code 127) in CI. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
…and query condition cache
Backport #101299 to 26.2: Fix insert-select from delta lake cluster with replicated merge tree
…ed views with inner tables
Backport #100582 to 26.2: Use `aws-sdk-cpp` 1.11.771
Backport #98792 to 26.2: Fix crash in system tables
Backport #100926 to 26.2: Fix wrong results in JOIN with shard-by-PK and query condition cache
Backport #101891 to 26.2: Fix UDF registry loss during Keeper session expiry
Backport #100901 to 26.2: Subtract slab_reclaimable from kernel memory in cgroupv2 reader
Backport #101494 to 26.2: Defer dedup data hash computation to eliminate squashing overhead
… deserialization
…y as a variable-length formatter
Backport #104673 to 26.2: Fix data race in FutureSetFromTuple
…r::setKeeper (StorageKafka2)
Backport #103890 to 26.2: Fix use-after-free in KeeperHandlingConsumer::setKeeper (StorageKafka2)
…or toUInt128(Float)
Backport #105048 to 26.2: JIT: register __fixunssfti / __fixunsdfti for toUInt128(Float)
…mpty blocks during merge
Backport #98460 to 26.2: Fix null pointer dereference in dictGetOrDefault with nullable key
…eMultiply` self-merge
…lability_zone` with `quorum_reads=true`
Backport #102884 to 26.2: Optimization for deferring row policy and PREWHERE
…with dynamic structure and detect corrupted columns_substreams.txt
Backport #98458 to 26.2: Fix exception in projection calculation on empty blocks during merge
…ia incorrect string escaping (#105183) Co-authored-by: robot-clickhouse <[email protected]>
…ervers (#103994) Co-authored-by: robot-clickhouse <[email protected]>
Backport #104663 to 26.2: Fix Keeper termination on get `/keeper/availability_zone` with `quorum_reads=true`
Backport #103536 to 26.2: Fix heap-use-after-free in `executeAggregateMultiply` self-merge
Backport #104888 to 26.2: Fix data part consistency checks for types with dynamic structure and detect corrupted columns_substreams.txt
…or nullable columns with filter
Backport #104610 to 26.2: Use restore Keeper retries for restored parts
Backport #102064 to 26.2: Fix incorrect results for RIGHT ANY JOIN
The cherry-pick of #102417 resolved the avro submodule conflict to the wrong commit (477ed40c656b, old API) instead of 3b5d52bdf9f9 (which adds the `max_depth` parameter to `DataFileReaderBase` and `compileJsonSchemaFromString`). Co-Authored-By: Claude Opus 4.6 <[email protected]>
Backport #102417 to 26.2: Check for stack overflow in Avro reader
Backport #102628 to 26.2: Fix LOGICAL_ERROR crash in Parquet reader for nullable columns with filter


This PullRequest is a part of ClickHouse release cycle. It is used by CI system only. Do not perform any changes with it.
Note
High Risk
Touches several core runtime areas (authentication result structure, query analyzer rewrite ordering, aggregate function state compatibility, and jemalloc/keeper initialization), which could affect query correctness and upgrade compatibility if anything is missed.
Overview
Updates release/CI behavior by skipping PR workflow jobs and changelog checks for release-labeled PRs, and extends CI ClickHouse dataset setup with a Parquet-backed S3 table.
Makes multiple runtime correctness/compatibility adjustments: preserves legacy nullable-state serialization for
sumCount, tightens subcolumn extraction rules for expression/alias columns, and reorders analyzer passes (e.g.,InverseDictionaryLookupPass, date/datetime preimage rewrite) to avoidGROUP BYkey elimination issues; also broadens regexp rewrite to handleNullable(String)results.Improves observability and tooling by adding jemalloc profiling controls (sampling rate +
verifySetupchecks) and expanding the/jemallocweb UI/SQL docs, while tagging many ZooKeeper/backup/keeper code paths withsetCurrentComponentfor better tracing; additionally bumps bundled versions (26.2.5.1, Postgres headers, Mongo drivers), adjusts Rust deps, and standardizes CLI help/exit codes and usage strings across several utilities.Written by Cursor Bugbot for commit 53b6853. This will update automatically on new commits. Configure here.