Repository navigation
Backport #119317 to 26.3: Fix a crash and a LOGICAL_ERROR when trim(BOTH '' FROM x) is used where a function is expected - #119854
Conversation
…BOTH '' FROM x)` is used where a function is expected
|
Workflow [BackportPR], commit [6569081] Summary: ✅ |
05175_trim_empty_chars_is_a_function_call cannot pass on 26.3: it asserts two behaviours this branch predatesThe cherry-picked fix itself is complete here: this PR's file list and per-file counts are
Both commits belong to #112788, merged to master on 2026-08-14, after the 26.7 branch cut and before Smallest edit that works identically on 26.3, 26.6 and 26.7, if the test is worth keeping there:
If carrying the test here is not worth it, dropping the 05175 pair from this branch still leaves the I hold |
…ammar The test was written against master and relied on two things that 26.3 does not have: order-agnostic column modifiers (26.3 requires `CODEC` before `STATISTICS`, so `STATISTICS(tdigest) CODEC(ZSTD(3))` is a syntax error) and the `basic` / `uniq_v2` statistics types (26.3 knows only `tdigest`, `uniq`, `countmin` and `minmax`). Column-level `STATISTICS` inside `ALTER TABLE ... MODIFY COLUMN` is also silently dropped on 26.3, so the `INCORRECT_QUERY` it asserted there never fires; that line is removed, as in the 26.7 backport. CI report: https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=119854&sha=3de2c5540d544572f905faf598d894b7bfb95502&name_0=BackportPR&name_1=Stateless%20tests%20%28amd_asan%2C%20distributed%20plan%2C%20parallel%2C%201%2F2%29 PR: #119854 Co-Authored-By: Claude Fable 5.1 <[email protected]>
|
🕵 Applied the adaptation you described in 6569081: dropped the |
Original pull-request #119317
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.3.33.74