Repository navigation
Conversation
…request with an unknown watch type
`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)
…adonly mode and with `allow_ddl = 0`
…lta Lake columns to their physical names
…n to alias under prefer_column_name_to_alias
…nction_with_if defeating short-circuit evaluation
…alues of `Seconds` settings
…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`
…erwriting its deadline fails
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
…alias only for the outermost JOIN
…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) - src/Analyzer/FunctionNode.h (both modified) - src/Disks/DiskType.cpp (both modified) - src/Storages/ObjectStorage/StorageObjectStorageConfiguration.cpp (both modified) - src/Storages/StorageURLCluster.cpp (both modified) - src/Storages/VirtualColumnUtils.h (both modified)
Merged both sides in all 7 files, keeping Altinity's version/branding and refactors and taking upstream's new code.
|
Port-AL: merge conflicts resolved by AI Conflicted files:
Commits:
|
|
@blau-ai fix fasttest fails |
… callers The 26.3.77 backport of ClickHouse#110665 added a run_local_paths_check parameter to ObjectStorageFactory::create; update the two Antalya-only call sites. Signed-off-by: blau-ai <blau-ai@users.noreply.github.com>
Signed-off-by: blau-ai <blau-ai@users.noreply.github.com>
registerQueueStorage.cpp reads it; the merge conflict resolution placed it in a private section. Signed-off-by: blau-ai <blau-ai@users.noreply.github.com>
Fast test fixed: three compile errors from the 26.3.77 merge, now on this branchFast test was failing in the Build ClickHouse step, not in a test. Ninja stopped at the first error, so the CI log showed only one of them. Builds on the blau builder turned up two more. All three came from the 26.3.77 merge and its conflict resolution:
Before the final build I also checked the Antalya-only callers of the other APIs whose signatures changed in this merge. That covered Local validation (Debug build, no sanitizers):
CI on this PR still has the final word. The new run will also show whether any non-fasttest build (Rust/delta-kernel, sanitizers) has more merge problems. The DCO check is also red. It flags the merge commits and is not something code changes fix. |
|
@blau-ai fix fasttest |
Fast test builds without Parquet support, so the test fails there with UNKNOWN_FORMAT.
|
Fast test fix (re: #3006 (comment)) What failed: one test in Fast test (
Root cause: the test came in with the backport of upstream ClickHouse#131797 (3495f5f). The Fast test build has no Parquet/Arrow support, and the test had no Fix: pushed 2443af0 to this branch. It adds Validation: none locally. The change is a one-line tag and needs no build. The CI run on 2443af0 still has to confirm Fast test is green and the test passes in the regular stateless jobs. Not addressed: the |
This comment has been minimized.
This comment has been minimized.
|
@blau-ai fix unittests fail caused by this PR |
(cherry picked from commit 1941bea)
Unit tests fix: pushed 6e718eeWhat failed. -WITH
- table_1 AS
- ( SELECT country, city, c + some_derived_value AS _expr_1 FROM matches WHERE start_date > ... ),
- table_0 AS ( ... AVG(_expr_1) ... FROM table_1 WHERE _expr_1 > 0 ... )
+WITH table_0 AS
+ ( ... AVG(c + some_derived_value) AS _expr_0, MAX(c + some_derived_value) AS aggr
+ FROM matches WHERE (start_date > toDate('2023-05-30')) AND ((c + some_derived_value) > 0) ... )Root cause: this PR. The bump updates Fix. I cherry-picked that upstream commit ( Validation
The other red checks (Integration amd_binary 1/5 and 5/5, Stress ubsan, Grype, DCO) weren't part of this request and I haven't triaged them. |
|
@blau-ai fix test fails here if they are caused by this PR |
|
I found nothing to fix in this PR, so I haven't pushed a commit: none of the red checks on Integration tests (all 13 shards red): CI infra, not this PR
➡️ Action: re-run the failed integration jobs on run 47441279550. If the pulls still hang, someone needs to check the Docker Hub proxy on the runners. Other red checks: not caused by this PR
Once the integration re-run finishes, its results will show whether there are any real regressions; happy to look again then. |
|
4 failing checks, 0 caused by this PR: 1 infra (runner too small), 2 Grype scans that already fail on base, 1 DCO that is expected for a version bump.
Every other check is green or skipped. Nothing in the bump itself needs fixing. Re-run the integration shard if you want a fully green run before merging. Integration tests (amd_asan, db disk, old analyzer, 1/8): infra, not PR-causedAll 3 failures are the same Cause: Why it's not this PR:
Suggested fixes (separate from this PR):
Grype Scan (keeper, server-alpine): pre-existing, not PR-causedBoth images report the same 3 High findings, all against busybox
Next step: nothing to do in this PR. Rebuild once Alpine ships a fixed busybox, or add these CVEs to the Grype ignore list if the team accepts the risk. DCO: expected for upstream bump, not a code problemThe commits without a sign-off are upstream ClickHouse backports and version commits brought in by the bump. Merge commits are skipped by the check. Other Antalya PRs (#3033, #3021) also fail DCO. Rewriting upstream history to add sign-offs isn't practical, so handle this the way earlier bump PRs were handled (override or ignore). |
Changelog category (leave one):
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:
Regression jobs to run: