Skip to content

Stable 26.3: Bump to 26.3.77 - #3007

Draft
blau-ai wants to merge 201 commits into
stable-26.3from
bump/stable-26.3/v26.3.77.6-lts
Draft

blau-ai wants to merge 201 commits into
stable-26.3from
bump/stable-26.3/v26.3.77.6-lts

Conversation

@blau-ai

@blau-ai blau-ai commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Unit tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • CAS (content-addressed storage; Antalya only)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

robot-clickhouse and others added 30 commits November 13, 2026 15:35
`apt.llvm.org` rotated `llvm-snapshot.gpg.key`. Master and the other
release branches already carry the new hash (d9ef955), and 26.3's
`test-base` image has it too, but 26.3's `fasttest` image still had the
old one. It went unnoticed because the image was not rebuilt until this
backport touched `ci/docker/fasttest/Dockerfile`.

CI: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=130801&sha=c9a90e1eb9eddba62fe2250ee989d42a2ee5a9ec&name_0=BackportPR&name_1=Dockers%20Build%20%28amd%29
PR: ClickHouse#130801

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The PPA was added in 2019 to get gcc-9. None of the packages we install
come from it anymore, but `add-apt-repository` queries the Launchpad API,
and a timeout there broke `Dockers Build` on both architectures:
`TimeoutError: [Errno 110] Connection timed out`.

Also drop `software-properties-common`, which was installed only for
`add-apt-repository`.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=117346&sha=7ef2c32ada54daaef89b1fcb0a7b10c5299f86ca&name_0=PR&name_1=Dockers%20Build%20%28amd%29
ClickHouse#117346

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 884f6b3)
…lta Lake columns to their physical names
…n to alias under prefer_column_name_to_alias
…nction_with_if defeating short-circuit evaluation
…8697

Backport ClickHouse#118697 to 26.3: Fix optimize_rewrite_aggregate_function_with_if defeating short-circuit evaluation
…9192

Backport ClickHouse#119192 to 26.3: Analyzer: resolve ambiguous column to alias under prefer_column_name_to_alias
…et format of the `Template` input format
…1269

Backport ClickHouse#131269 to 26.3: Reject negative and overflowing values of `Seconds` settings
Conflicts in `src/Core/Field.cpp` and `src/Interpreters/InterpreterCreateQuery.cpp`
were between equivalent code (a comment wording and the position of the
`getExportAccess` call), not part of this backport; took the `26.3` side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…1730

Backport ClickHouse#131730 to 26.3: Require `${data}` in the result set format of the `Template` input format
…ading legacy `String` states of `any`/`min`/`max`
…a Lake partition pruning when the filter's set holds `NULL`

(cherry picked from commit 0cc79e2)
… test 26.3 can run

26.3's KeyDescription::getKeyFromAST takes no `virtuals` argument (ClickHouse#102827 is
not on 26.3), so drop the `{}` the cherry-pick carried.

The test built its Delta tables with INSERT INTO FUNCTION deltaLakeLocal under
allow_delta_lake_writes. On 26.3 that setting is still called
allow_experimental_delta_lake_writes, and a partitioned INSERT of a NULL value
fails with NOT_IMPLEMENTED (ClickHouse#111793 is not on 26.3). Write the same tables by
hand instead, as 26.3's 05237 test does: Parquet data files through file() and
one add action per file, a NULL partition value committed as a JSON null under
__HIVE_DEFAULT_PARTITION__.

Two cases fail on 26.3 with and without this change, so they are dropped:
`ifNull(p, 0) IN (0)` prunes the NULL partition (a MergeTree table partitioned
by the same Nullable column returns the same wrong rows on 26.3), and
`has([NULL, 'a'], s)` throws CANNOT_INSERT_NULL_IN_ORDINARY_COLUMN (ClickHouse#115647 is
not on 26.3). On 26.3 the fix keeps the NULL partition's file for
`has([5, 7], p)`, so that case prunes 1 file instead of 2 (rows unchanged):
26.3 builds no set index for a UInt8 array over a Nullable(Int64) key; 26.3's
MergeTree partition pruning does not use that predicate on a Nullable key either.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 25da41d)
…prunes no file

On 26.3 the Nullable key condition does not prove that this predicate is
false for the `NULL` partition, so the partition pruner keeps its file and
prunes 0 files instead of 1. The rows are the same; keeping a file is the
conservative outcome. Reproduced with the `build_arm_release` binary of this
PR (26.3.61.91); the other cases match the reference.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=130717&sha=a3a2d22f6027fc8c95c20735d2a9c17fa472b7a0&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan%2C%20distributed%20plan%2C%20parallel%2C%202%2F2%29
PR: ClickHouse#130717

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 715faa4)
…0952

Backport ClickHouse#130952 to 26.3: Reject named collection DDL in readonly mode and with `allow_ddl = 0`
Conflicts in `src/Core/Field.cpp` and `src/Interpreters/InterpreterCreateQuery.cpp` are outside
of the backported change; resolved by taking the `26.3` version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 26.3 history was rebuilt on 2026-11-13, so the backport commit was based on an
old 26.3 commit. Take the current 26.3 tree and keep only the backported change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…17-backport-130192

Backport ClickHouse#130192 to 26.3: Keep the `NULL` partition in Delta Lake partition pruning when the filter's set holds `NULL`
…1795

Backport ClickHouse#131795 to 26.3: Reserve the appended byte when reading legacy `String` states of `any`/`min`/`max`
…1029

Backport ClickHouse#131029 to 26.3: Fix use-after-free on renaming Delta Lake columns to their physical names
…0997

Backport ClickHouse#130997 to 26.3: Keep a delayed task valid when overwriting its deadline fails
# Conflicts:
#	src/Core/Field.cpp
#	src/Interpreters/InterpreterCreateQuery.cpp
#	src/Processors/Formats/Impl/NativeORCBlockInputFormat.cpp
#	src/Processors/Formats/Impl/NativeORCBlockInputFormat.h
alexey-milovidov and others added 21 commits November 28, 2026 17:11
…0673

Backport ClickHouse#130673 to 26.3: Apply `ROW POLICY ... ON CLUSTER` with a bare table name to the current database
…irtual column of `url` is requested before another virtual column
…4815

Backport ClickHouse#134815 to 26.3: Fix a crash when the `_headers` virtual column of `url` is requested before another virtual column
…1728

Backport ClickHouse#131728 to 26.3: Forbid users with the same name in different user directories
…4279

Backport ClickHouse#134279 to 26.3: Fix TTL merges of tables with a column TTL on an `ALIAS` or `EPHEMERAL` column
…2506

Backport ClickHouse#132506 to 26.3: Update mongo-c-driver to reject malformed cursor batches
…check of forwarded roles with a forged `TCP_INTERSERVER` interface
The test uses the helper `05061_query_log_interface_enum_unknown.python`
from ClickHouse#118136, which is not in this branch, add it.

And `system.query_log.interface` is `UInt8` here, not `Enum8`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…e and a grant on the same name in `SHOW GRANTS`
…4818

Backport ClickHouse#134818 to 26.3: Confine `Filesystem` database tables to the database directory
…0576

Backport ClickHouse#130576 to 26.3: Mask the connection string in ODBC/JDBC bridge request URLs
…5200

Backport ClickHouse#135200 to 26.3: Fix the order of a wildcard revoke and a grant on the same name in `SHOW GRANTS`
…4994

Backport ClickHouse#134994 to 26.3: Fix a client bypassing the grant check of forwarded roles with a forged `TCP_INTERSERVER` interface
Release v26.3.77.6-lts

Conflicts committed as-is, conflict markers included:
- ci/docker/binary-builder/Dockerfile (both modified)
- cmake/autogenerated_versions.txt (both modified)
Took upstream's version bump and PPA removal, and kept Altinity's clang-tools install and Altinity version suffix.
@blau-ai

blau-ai commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

Port-AL: merge conflicts resolved by AI

Conflicted files:

  • ci/docker/binary-builder/Dockerfile (both modified)
  • cmake/autogenerated_versions.txt (both modified)

Commits:

  • 6b33370: merge with the conflicts committed as-is

  • 267e37b: resolution

  • cmake/autogenerated_versions.txt: upstream moved to patch 77 with a new git hash, and Altinity had its own .10001.altinitytest describe/string. I kept upstream's patch and git hash and wrote the describe/string as v26.3.77.10001.altinitytest and 26.3.77.10001.altinitytest. VERSION_TWEAK and VERSION_FLAVOUR are unchanged.

  • ci/docker/binary-builder/Dockerfile: upstream dropped the software-properties-common and ppa:ubuntu-toolchain-r/test steps. Altinity had added a clang-tools-${LLVM_VERSION} remove-and-install inside that PPA block. I took upstream's removal of the PPA and kept Altinity's clang-tools lines in the single apt-get update RUN.

  • Altinity's other Dockerfile changes (the altinityinfra/* image names and cctools tag) merged cleanly and are untouched.

  • Review point: I assumed the clang-tools install doesn't need the PPA. If it does, the PPA step would have to be restored.

@github-actions

github-actions Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Workflow [PR], commit [bca05ce]

@zvonand

zvonand commented Dec 3, 2026

Copy link
Copy Markdown
Member

@blau-ai fix fasttest fails

@blau-ai

blau-ai commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

Fast test fix pushed: bae1091

What failed: one test, 05802_parquet_plain_string_fully_filtered_pages (686 passed, 1 failed). The other 155 tests were skipped as usual. Error from the job log:

Code: 73. DB::Exception: Unknown format Parquet. (UNKNOWN_FORMAT)

Cause: this PR didn't break anything. Fast test builds without Parquet, and the test arrived through the backport commit 3495f5f (Backport ClickHouse#131797 to 26.3) without a no-fasttest tag. Other Parquet tests, like 00900_orc_arrow_parquet_maps.sh, already have that tag.

Fix: I added # Tags: no-fasttest to the test. That's the only change; I didn't touch any code.

Validation: I didn't run anything locally. Fast test reads the tag and skips the test, and the full stateless jobs, which do build with Parquet, will still run it. The new CI run on this PR has the final word.

Not touched: the DCO check is also red. It's about commit sign-offs, not tests, so it's outside this request.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.