Skip to content

Report INCORRECT_DATA instead of LOGICAL_ERROR when a part does not match the declared sorting key - #119295

Merged
alexey-milovidov merged 8 commits into
ClickHouse:masterfrom
groeneai:partssplitter-error-for-parts-disagreeing-with-sorting-key
Oct 2, 2026
Merged

alexey-milovidov merged 8 commits into
ClickHouse:masterfrom
groeneai:partssplitter-error-for-parts-disagreeing-with-sorting-key

Conversation

@groeneai

@groeneai groeneai commented Sep 10, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #119159
Related: #116473

Changelog category (leave one):

  • Bug Fix (user-visible misbehavior in an official stable release)

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

A MergeTree table with table_disk = 1 mounts the parts already present at the disk root. If it declares a sorting key those parts were not written with, reading it raised LOGICAL_ERROR and aborted the server in builds with assertions enabled. It now reports INCORRECT_DATA and names the offending part.

Description

Requested by @ PedroTadim in #119159: PartsSplitter.cpp:547 throws LOGICAL_ERROR for a state a user configuration reaches, so it should be a user-facing error. Scope agreed. It reaches CI on master: Stress test (arm_release) on 27ee4ee716b4, plus 16 rows of the debug sibling assertion over 13 PRs in 30 days.

Nothing records the sorting key a part was written with, and a writer plus a read_only reader over one root is a shape the suite covers (04545_read_only_disk_refresh_parts), so a reader can declare ORDER BY key DESC over ascending parts. splitPartsRangesImpl then reads each range's begin and end index value in the declared order, every RangeEnd sorts before its own RangeStart, and the splitter hits a duplicate PartRangeIndex.

I compare the two values where that loop already has both and report INCORRECT_DATA, before the sort rather than at the throw: the chassert at :530 fires first wherever assertions are enabled, and all 16 rows are from such builds. :547/:585 keep their LOGICAL_ERRORs and :530/:618 their chasserts, now unreachable from a user configuration. Say if you prefer the literal :547-only change. It fires only where parts contradict the declared key: a column permutation stays monotone, and a range with no end-mark index value is skipped.

Since the first push: the message no longer prints the key values, since the splitter reads every primary key column while GRANT SELECT(col) covers only the selected ones; and the test now covers the mirrored direction, which aborts at :569 instead of just missing it.

Residual I am not closing: splitIntersectingPartsRangesIntoLayers derives borders from interior mark values, which this check does not constrain, so wrong results survive with split_parts_ranges_into_intersecting_and_non_intersecting_final = 0 or through query_plan_join_shard_by_pk_ranges; it cannot abort.


Workflow [PR]
Sync PR [sync-upstream/pr/119295]

Version info

  • Merged into: 26.10.1.1322-master (included in 26.10 and later)

groeneai and others added 2 commits September 10, 2026 16:05
… key

A part's marks are physically ordered by the sorting key the part was written
with. `table_disk` mounts whatever parts are already under the disk root, and
nothing records that key, so a table can declare the opposite direction over
parts written ascending - two tables over one root is a documented shape.

`splitPartsRangesImpl` then sorts each range's RangeStart/RangeEnd events by the
primary index value at the range's begin and end mark, compared in the declared
order. With the opposite direction every RangeEnd sorts before its own
RangeStart, so parts_ranges[0] is a RangeEnd, the pre-seed inserts that range's
PartRangeIndex, and the matching RangeStart fails to emplace: LOGICAL_ERROR at
:547, or the chassert at :530 one line earlier in builds with assertions. When
the violating range is not the global minimum nothing fires at all and the
part_index_start_to_range lookups read a default-constructed MarkRange.

Check each range against the declared order where the loop already has both
values, and report the invalid input instead. The check is placed before the
sort rather than at :547 because the chassert fires first in every debug and
sanitizer build, which is where most of the CI occurrences are; converting the
throw alone would leave those aborting. With the precondition established,
:530, :547 and :618 become internal assertions unreachable from a user
configuration and stay as they are.

`splitIntersectingPartsRangesIntoLayers` is deliberately not guarded: it derives
its borders from interior mark values, which an endpoint check does not
constrain, and it cannot abort, so its failure mode is wrong results.

Requested by PedroTadim in ClickHouse#119159.

Co-Authored-By: Claude Opus 5 <[email protected]>
Two tables over one local plain_rewritable root, the writer with four unmerged
ascending parts and the reader declaring the opposite direction. Without the
preceding commit this kills the server on the chassert in splitPartsRangesImpl;
with it the read reports INCORRECT_DATA naming the part.

Three properties the assertions are built around:

The read is `count(), sum(key)`, not `count()`: a bare count is answered by the
trivial-count path and never enters the splitter, which would make the expected
error vacuous.

The fixture asserts `min(marks) > 1` rather than assuming it. The RangeEnd event
exists only while the range's end mark carries an index value, so a part without
its final mark would make the same query return wrong results instead of the
error - the writer pins index_granularity_bytes, and this line is what fails if
that ever stops holding.

The disk names and the disk path carry ${CLICKHOUSE_DATABASE}. The runner
schedules the copies of a repeated test in parallel, and a fixed root makes them
read each other's parts; a shell test is the only way to vary them, since a
query parameter inside disk(...) is rejected as a non-literal.

The correctly declared reader over the same root is the control: without it the
expected error would also pass for an empty root or a broken disk path.

Co-Authored-By: Claude Opus 5 <[email protected]>
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding labels Sep 10, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Internal second-model review (3 findings raised, 0 blocking; 2 disclosed limitations)

Before opening this PR I ran an independent cold review of the resulting code plus a second-model
review pass, and adjudicated every finding against the recorded evidence. Nothing here was raised by
a human reviewer yet; it is disclosed so the parts I decided against are visible rather than silent.

⚠️ Limitation I decided not to close, and want your call on

A projection read names the projection, not the parent part. The check passes
data_part->name, and a projection part's name is only the projection name
(IMergeTreeDataPart::addProjectionPart enforces that), while projection candidates arrive as
RangesInDataPart(projection_part, parent_part, ...) (projectionsCommon.cpp:383-387) and reach this
splitter through ReadFromMergeTree.cpp:1792. So a mis-sorted projection part reports Part p ...,
which is not unique across parent parts, and "the sorting key declared by this table" is really the
projection's key. RangesInDataPart::getDescription() already builds the unambiguous
parent-plus-projection identity, so the fix is small.

I left it out on purpose: the error still fires, still with INCORRECT_DATA, and the part it names
genuinely is the mis-sorted one, so the consequence is diagnostic precision in a sub-case that needs
table_disk root reuse and a reader declaring a same-named projection with a different ORDER BY.
For that same sub-case master today gives a bare LOGICAL_ERROR with no part name at all. Adding
parent-part identity plus its own projection regression test is scope I did not want to add to a change
you asked to keep minimal. Say the word and it goes in, here or as a follow-up.

I will not dress this up as foresight: my own carrier enumeration missed the projection path, and the
internal review pass is what found it.

⚠️ Deliberately narrow test assertion

The test asserts the error code and the part-naming clause, and stops before the two at mark N
fields the message also carries. Asserting those would pin values that move with randomized
granularity (the shipped fixture reports at mark 0 ... at mark 1 only because 50 rows make one
granule plus the final mark; index_granularity is randomized from randint(1, 65536)), and a
looser numeric pattern would pin the English wording against future rewording without adding any
power to detect the fix's absence: reverting it removes the whole message and the error code, both
of which the test already pins.

💡 Checked and found not to apply

  • no-object-storage, which 6 of 7 comparable object_storage_type = local tests carry. The
    worry is a default storage_policy colliding with the test's explicit disk. It cannot: the
    setting is not in MergeTreeSettingsRandomizer, the randomizer additionally skips every setting
    the server config already changed (clickhouse-test:2063 against system.merge_tree_settings WHERE changed), the client only injects settings a CREATE lacks, and an explicit disk resets
    storage_policy server-side (MergeTreeSettings.cpp:2589-2596). Cloud runs skip the test on
    no-shared-merge-tree regardless. Three independent derivations agreed, so the tag is omitted
    knowingly rather than by copy-paste.
  • no-fasttest being unnecessary because 04545 omits it. Dropping it can only add a way for CI
    to fail, and 05137 and 04089 both carry it for table_disk fixtures, so it stays.

What the review changed

Four defects in this PR's own description, all found by the cold pass and all corrected before
posting: a cited comment id that does not exist on #119159; "13 of those 16 rows" (the distinct-PR
count leaking into a flavor claim, where the measured split is 16 of 16 assertion-enabled builds
and 0 release); a chassert described as "one line earlier" when it is 17; and "a documented shape",
which nothing documents, now replaced by the in-tree fixture 04545_read_only_disk_refresh_parts
that ships exactly this writer-plus-read_only-reader layout.

Session id: cron:clickhouse-review-slot-8:20260910-160800

@clickhouse-gh clickhouse-gh Bot closed this Sep 10, 2026
@clickhouse-gh clickhouse-gh Bot reopened this Sep 10, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Pre-PR validation gate (click to expand)
# Question Answer
a Deterministic repro? Yes, 100% on the first attempt, no MinIO. Writer with table_disk = true over a local plain_rewritable object-storage root, SYSTEM STOP MERGES, 4 inserts of 50 rows; a second read_only table over the same root declaring ORDER BY key DESC; then SELECT count(), sum(key) FROM reader SETTINGS merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability = 1, max_threads = 8, use_query_condition_cache = 0. A bare count() does NOT reproduce: it is answered by the trivial-count path and never reaches the splitter.
b Root cause explained? A part's marks are ordered by the key the part was written with. splitPartsRangesImpl sorts RangeStart/RangeEnd events by the index value at each range's begin/end mark, compared in the DECLARED order (deriveReverseOrder). With the opposite declared direction each RangeEnd sorts before its own RangeStart, parts_ranges[0] is a RangeEnd, the pre-seed inserts that range's PartRangeIndex, and the matching RangeStart fails to emplace: the LOGICAL_ERROR at :547, or the chassert at :530 that fires first in builds with assertions.
c Fix matches root cause? Yes. One check where the state is first observable, over the two values that loop already materialises, reporting the invalid input as INCORRECT_DATA and naming the part. No bound widened, no tag added, no dataset reduced, no defensive check masking an upstream bug. Placed before the sort rather than at :547 because the chassert fires first in debug and sanitizer builds, which is where all 16 of the 16 CI rows are.
d Test intent preserved / new tests added? New 05175_table_disk_parts_disagree_with_sorting_key.sh. No existing test weakened, no tag added to an existing test. Four lines: the fixture's rows, its part count AND min(marks) > 1 (so the fixture property the error depends on is asserted, not assumed), the error by code and by naming the part, and a positive control reading the same root through a correctly declared table.
e Both directions demonstrated? Yes. Unpatched build 0a58e86b: the test kills the server (chassert at PartsSplitter.cpp:530, runner reports ClickHouse server died during test). Patched build 0ac302ee: OK, 100/100 runs green with and without randomization. Two mutation arms redden different halves: deleting the call restores the abort; inverting the comparison makes the positive control throw INCORRECT_DATA, proving that control really reaches the check.
f Fix is general across code paths? Fixed at the source, not at the crash site. Every state that can abort or raise this error needs an event inversion, an inversion needs both events, and both are what the check inspects. findPKRangesForFinalAfterSkipIndexImpl is safe (its caller takes the conservative path for any descending sorting key); all four outer entry points reach the patched loop. Residual, disclosed in the PR body: splitIntersectingPartsRangesIntoLayers derives borders from interior mark values, so wrong results survive there via split_parts_ranges_into_intersecting_and_non_intersecting_final = 0 or query_plan_join_shard_by_pk_ranges; that path cannot abort.
g Fix generalizes across inputs (params/datatypes/wrappers)? Yes. isSafePrimaryKey gates all three entries into the splitter and excludes Float32/Float64/BFloat16/Nullable/Object/Variant/Dynamic recursively through Array/Tuple/Map/LowCardinality, so no NaN and no Null-to-POSITIVE_INFINITY mapping can reach the comparison. Prefix truncation to loaded_columns preserves monotonicity, loaded_columns == 0 compares equal, and equal values do not throw (the condition is strict). No type matrix is shipped: those types cannot reach the code.
h Backward compatible? (maintainer-approved exception only) Yes. No setting added, no default changed, no on-disk format touched, so no SettingsChangesHistory.cpp entry is owed; the settings-history baseline records name/type/value only, and 03999_stateless_settings_history passes. The only behaviour change is that a query which today aborts, raises LOGICAL_ERROR, or returns wrong mark ranges now reports INCORRECT_DATA. A column permutation stays monotone in the declared order, and a single-granule part has no end-mark value to compare, so both are unaffected.
i Invariants and contracts preserved? Yes. The helper is a pure predicate over two Values; it throws or returns. The start value it reads is this range's RangeStart, pushed unconditionally a few lines above in the same iteration, and the end value is materialised once and moved into the event, so no extra index read and no extra copy. The throw happens before ::sort, before any builder is populated and before any pipe is built, so no partially built structure is observable. No lock, no concurrency contract, nothing persisted.

Session id: cron:clickhouse-impl-slot-4:20260910-150308

@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [6a86a55]

Summary: ✅


AI Review

Summary

This PR changes splitPartsRangesImpl so one table_disk sorting-key mismatch path reports INCORRECT_DATA instead of hitting LOGICAL_ERROR/chassert, adds a regression test for the opposite-direction repro, and documents the table_disk caveat. That improves the ORDER BY ... DESC case, but the current implementation still leaves another supported sorting-key mismatch carrier undetected and the new diagnostic is still ambiguous on projection reads, so I would not approve it yet.

PR Metadata
  • Changelog category is correct.
  • The Changelog entry is required for Bug Fix and is user-readable, but it overstates the fix: the code only validates the opposite-direction carrier, not every case where the mounted table declares a different sorting key. Suggested replacement: A MergeTree table with table_disk = 1 now reports INCORRECT_DATA instead of LOGICAL_ERROR when its declared sort direction contradicts the mounted parts' primary-key order, and names the offending part.
Findings

❌ Blockers

  • [src/Processors/QueryPlan/PartsSplitter.cpp:154-162, src/Processors/QueryPlan/PartsSplitter.cpp:1179-1194, src/Storages/MergeTree/IMergeTreeDataPart.cpp:1783-1805, src/Storages/KeyDescription.cpp:127-137] The new guard only proves that the deserialized primary-index values stay monotone after applying sorting_key.reverse_flags; it does not prove that the mounted sorting-key expression itself matches the one the part was written with. loadIndex reads the on-disk primary file using the current table metadata, while deriveReverseOrder only inspects direction flags, so a reader mounted as ORDER BY -key over parts written as ORDER BY key still loads ascending key marks, keeps in_reverse_order = false, and bypasses the new INCORRECT_DATA path. That leaves the PR title/changelog/test claiming a broader fix than the code actually provides, while this supported table_disk shape can still run the splitter over a primary index whose semantics disagree with the declared key. Suggested fix: either validate the mounted key expression (or reject unsupported remounts up front), or narrow the user-visible contract/tests/changelog to the “same expression, opposite direction” case this helper actually covers.

⚠️ Majors

  • [src/Processors/QueryPlan/PartsSplitter.cpp:525-530, src/Processors/QueryPlan/Optimizations/projectionsCommon.cpp:409-413, src/Storages/MergeTree/RangesInDataPart.cpp:66-71] Projection reads already reach splitPartsRangesImpl via RangesInDataPart(projection_part, parent_part, ...), but the new exception still formats ranges_in_data_parts[part_index].data_part->name. For projection parts that is only the projection name, so the new INCORRECT_DATA becomes Part p ... for every parent part that has projection p and no longer uniquely identifies the offending mounted part. Suggested fix: use RangesInDataPartDescription::getPartOrProjectionName() (or equivalent parent-plus-projection formatting) and add a projection repro so the new diagnostic stays actionable on that path too.
Tests
  • ⚠️ Add one focused regression where the writer uses ORDER BY key and the reader remounts the same root with a same-typed but different expression such as ORDER BY -key, so this PR either handles that carrier or explicitly scopes it out.
  • ⚠️ Add one projection-path regression proving the new INCORRECT_DATA message names parent_part.projection, not only the projection name.
Final Verdict

Status: ⚠️ Request changes

Minimum required actions:

  • Either make the validation cover non-DESC sorting-key mismatches as the PR currently claims, or narrow the user-visible contract (Changelog entry, description, and test intent) to the opposite-direction case.
  • Make the new INCORRECT_DATA identify projection parts unambiguously.

LLVM Coverage Report

Measured on commit 6a86a55.

Metric Baseline Current Δ
Lines 88.20% 88.20% +0.00%
Functions 91.70% 91.80% +0.10%
Branches 79.60% 79.60% +0.00%

Changed lines: Changed C/C++ lines covered: 33/33 (100.00%) · Uncovered code

Full report · Diff report

@groeneai

Copy link
Copy Markdown
Collaborator Author

cc @davenger @tiandiwonder, could you review this? A table_disk table mounts whatever parts are already under the disk root, so a reader declaring a different sorting key hands splitPartsRangesImpl a range whose end index value precedes its own start value; that inverts the RangeStart/RangeEnd sort order and ends in a logical error, or an abort in builds with assertions, and this reports INCORRECT_DATA naming the offending part instead.

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Sep 10, 2026
const Values & range_end_value,
bool in_reverse_order)
{
if (compareValues(range_start_value, range_end_value, in_reverse_order) <= 0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new guard still only covers the literal DESC carrier, because both values come from the stored primary index and the comparison direction comes from sorting_key.reverse_flags. A mounted reader with a same-typed but different key expression, for example ORDER BY -key, still loads the writer's ascending key values in loadIndex, deriveReverseOrder keeps in_reverse_order = false, and this check accepts the range even though the table's declared order is descending. The binary-search paths below then keep splitting by a non-monotone order.

If the contract here is "part does not match the declared sorting key", we either need a stronger validation that the mounted key expression itself matches what the part was written with, or the docs/changelog/test need to be narrowed to the reverse_flags case this helper actually proves.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a problem.

auto range_end_value = index_access.getValue(part_index, range.end);

checkPartRangeMatchesKeyOrder(
ranges_in_data_parts[part_index].data_part->name,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Projection reads reach this helper too: analyzeProjectionCandidate builds RangesInDataPart(projection_part, parent_part, ...), but projection parts keep only the projection name in data_part->name. On that path the new INCORRECT_DATA becomes Part p ..., which is ambiguous across all parent parts that have projection p and does not actually identify the offending mounted part.

RangesInDataPartDescription::getPartOrProjectionName() already formats parent_part.projection; using that here would keep the new diagnostic actionable on projection reads as well.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is okay - the diagnostic could be improved.

@clickhouse-gh clickhouse-gh Bot added the comp-query-optimizer Query plan optimization: physical plan steps, plan-level rewrites and optimizations (QueryPlan pa... label Sep 10, 2026
@clickhouse-gh

clickhouse-gh Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing 6a86a55ca with master f4fc5b9ab (stripped binary size, per-symbol sizes and ThinLTO time; object sizes against the warmup build of 8ccea5b3a; compile times per translation unit against the most recent warmup build that recompiled it).

✅ No significant changes.

Binary sizes

programs/clickhouse-stripped: smaller than the master baseline by the known offset between the two builds, so the difference is not shown. A delta that differs from the offset by more than 50% of it is shown, in either direction.

The official master build is compiled with -g and a pull request build is not, and XRay counts debug instructions towards its instrumentation threshold, so master instruments thousands of functions more and its binary is ~0.4% larger no matter what the pull request does.

Compile time of recompiled translation units

8 translation units recompiled, 25 s compile time in total, 8 of them have a recent master baseline.

Job report

groeneai and others added 4 commits September 10, 2026 23:54
The test forces the splitter to run through
`merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability`,
and that injection is applied only to a read that is not a parallel-replicas
read: `spreadMarkRangesAmongStreams` gates it on
`read_type != ReadType::ParallelReplicas`. With `enable_parallel_replicas = 1`
arriving from the default profile the ranges therefore never reach
`splitPartsRangesImpl`, the read that must be rejected returns rows, and the two
lines proving `INCORRECT_DATA` fired are missing from the output. Pin the setting
off for the two split reads.

https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=119295&sha=ffbdbbf5356b48a2bbad1ce52edad4444051c7da&name_0=PR&name_1=Stateless%20tests%20%28amd_llvm_coverage%2C%20ParallelReplicas%2C%20s3%20storage%2C%20parallel%29
ClickHouse#119295

Pinning the setting rather than tagging the test `no-parallel-replicas` keeps the
`ParallelReplicas` job running it, and the tag would claim more than is true:
only the fault injection is skipped on that path, the guard itself is live there.
Measured against a server carrying that job's own profile
(`enable_parallel_replicas = 1`, `max_parallel_replicas = 10`, a three-replica
cluster), a `FINAL` read of the same parts through a `ReplacingMergeTree` over
the same disk root throws `INCORRECT_DATA` with `parallel_replicas_local_plan`
both 0 and 1.

Under that profile the test reproduced the report's diff exactly, and now passes
20 out of 20 randomized runs; it also passes 20 out of 20 under the default
profile, and taking the setting back out brings the failure back.

Co-Authored-By: Claude Opus 5 <[email protected]>
The splitter reads every primary key column of a part, while column-level grants
cover only the columns the query selects, so the values in this message can come
from a column the query is not allowed to read. Measured on a user holding just
`GRANT SELECT(val)`: `SELECT key FROM t` is refused with `ACCESS_DENIED`, and
before this change `SELECT sum(val) FROM t` over parts that disagree with the
declared sorting key returned the message carrying both `key` boundary values.

The part name and the two mark numbers stay. They are metadata rather than data,
and they are what locates the part, so the diagnostic still names what is wrong
and where.

Co-Authored-By: Claude Opus 5 <[email protected]>
`deriveReverseOrder` reads the reading table's declared direction, so the pair
already in the test (ascending parts, descending reader) reaches only the reverse
branch of `compareValues`. A guard that returned early for a forward comparison
would satisfy every assertion, and that arm is not harmless: built with such a
mutant, `SELECT count(), sum(key)` on an ascending reader over descending parts
aborts the server on the sibling assertion,
`Logical error: 'parts_ranges[0].event == PartsRangesIterator::EventType::RangeStart'`
at `splitPartsRangesImpl`, which is the failure this whole change replaces with
`INCORRECT_DATA`.

Add the mirror on its own disk root: a writer declaring `ORDER BY key DESC` and a
reader declaring `ORDER BY key` over its parts. Same two assertions as the
existing pair, and the matching reader stays the control for both.

Co-Authored-By: Claude Opus 5 <[email protected]>
@PedroTadim

Copy link
Copy Markdown
Member

@jkartseva I leave you to decide if this is the best solution for the issue

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 91630df

Every failure below has an owner: a fixing PR (mine or external), or a full-effort fix task
whose fixing-PR link will be posted here when it opens. Only CH Inc sync is exempt.

Check / test Reason Owner / fixing PR
Upgrade check (amd_release) / Logical error: Virtual row has different type for A. Expected B, got C (STID 1637-309b) logical error on the read-in-order virtual row, not caused by this PR: 32 other pull requests hit the same signature on 2026-09-11 and true master hit it on 2026-09-10 #119385 (mine, open)
Mergeable Check, PR praktika rollups of the row above, no independent leaf failure #119385 (mine, open)

Session id: cron:our-pr-ci-monitor:20260911-160023

groeneai and others added 2 commits September 27, 2026 12:15
Since ClickHouse#110665 a custom disk over local object storage must be inside
`custom_local_disks_base_directory`, so the relative `disks/05175/...` roots
of this test are refused with "Path of the custom local disk must be inside
... directory" and every `CREATE TABLE` in it fails. Use the
`${CLICKHOUSE_DISKS_FILES}` prefix that ClickHouse#110665 moved the other `table_disk`
tests to (e.g. `04545_read_only_disk_refresh_parts.sh`).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jkartseva jkartseva assigned jkartseva and unassigned jkartseva Oct 2, 2026
@alexey-milovidov alexey-milovidov self-assigned this Oct 2, 2026
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue Oct 2, 2026
Merged via the queue into ClickHouse:master with commit 66a259d Oct 2, 2026
172 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

can be tested Allows running workflows for external contributors comp-query-optimizer Query plan optimization: physical plan steps, plan-level rewrites and optimizations (QueryPlan pa... groeneai-origin-ci-master PR origin: master/nightly CI monitoring finding pr-bugfix Pull request with bugfix, not backported by default pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants