Skip to content

Refuse to read Apache Paimon tables with deletion vectors instead of returning deleted rows - #122506

Merged
JiaQiTang98 merged 23 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-122431-paimon-deletion-vectors
Oct 21, 2026
Merged

JiaQiTang98 merged 23 commits into
ClickHouse:masterfrom
groeneai:groeneai/fix-122431-paimon-deletion-vectors

Conversation

@groeneai

@groeneai groeneai commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

Closes: #122431
Related: #113460

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):

Reading an Apache Paimon snapshot whose index manifest lists deletion vectors now throws NOT_IMPLEMENTED instead of silently returning rows that later DELETE and UPDATE statements removed: the reader does not apply deletion vectors. This also covers tables where deletion-vectors.enabled was turned off afterwards. Closes #122431.

Description

On 26.8 LTS (26.8.10.6), paimonLocal over an append-only Paimon table with 'deletion-vectors.enabled' = 'true'
returns rows that a later UPDATE or DELETE removed. After Spark runs INSERT (1,'old'),(2,'two') and
UPDATE ... SET val = 'new' WHERE id = 1, Spark reads 1 new / 2 two, while ClickHouse returns 1 new / 1 old / 2 two.
The paimon* table functions are ungated.

Root cause. Such an update commits a snapshot (COMPACT with Paimon 1.1.1, OVERWRITE with 1.3.2) whose index
manifest holds a deletion vector for the affected data file. The reader never reads the index manifest, and #113460's guard refuses only primary-key
tables.

The change. Every snapshot a query reads is checked before its files are collected: the full-scan snapshot,
paimon_target_snapshot_id, and each snapshot an incremental read consumes, including the skipped COMPACT ones. If
its index manifest has a non-empty DELETION_VECTORS entry (an empty one is written when compaction removes the last
vector), the read throws NOT_IMPLEMENTED before any Keeper watermark is committed. The error names the recovery: a
full compaction, or snapshot expiration or a cursor move for incremental reads. The deletion-vectors.enabled option
is not consulted: it can be turned off while deletion vectors stay live. The index manifest name is carried in the
pinned table state, and the file is read through the Paimon metadata cache.

Validation. The integration test test_paimon_deletion_vectors writes its tables at test time with Paimon Spark 1.3.2. SELECT, count(), the targeted read of snapshot 2, and resumed and fresh incremental
reads throw with the watermark kept, as does a table whose option was turned off without a full compaction. Snapshot 1
and a fully compacted table still read, and the documented cursor move resumes a blocked stream. Master fails the refusals; dropping the skipped COMPACT check or the
empty-entry rule fails their arms.

🤖 Generated with Claude Code


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

Version info

  • Merged into: 26.11.1.408-master (included in 26.11 and later)

groeneai and others added 3 commits September 27, 2026 03:46
On a Paimon table with 'deletion-vectors.enabled' = 'true', a row-level
UPDATE or DELETE does not rewrite data files: the writer commits a COMPACT
snapshot whose index manifest holds a deletion vector (a RoaringBitmap of
deleted row positions) for the affected data file. PaimonMetadata::iterate
returns the union of the snapshot's data files and never reads the index
manifest, so every row a deletion vector removed is returned. The ClickHouse#113460
guard refuses only primary-key tables, so append-only tables passed it.

Throw NOT_IMPLEMENTED when the pinned schema sets the option, right after
the primary-key check and above the read-mode split, so full scans,
paimon_target_snapshot_id and incremental reads are all covered, and a
refused incremental read never advances the Keeper watermark. The option is
the exact condition under which Paimon's own reader applies deletion
vectors. Tables with the option set but no delete yet now throw too;
refusing only when the index manifest carries deletion vectors would need an
index-manifest reader and a table-state protocol change.

The fixture was written by Spark 3.5.9 with paimon-spark-3.5 1.1.1; its
README has the recipe.

Closes ClickHouse#122431

Co-Authored-By: Claude Opus 5.5 <[email protected]>
05259 now also refuses a copy of the deletion-vector table whose option is
spelled 'TRUE', checks that the refused incremental read leaves no
committed_snapshot under the table's Keeper path, and reads a copy of
paimon_no_partition with the option set to 'false'. The new refusal line and
the watermark line both fail on the unfixed binary; the 'false' copy is a
positive control that reads on both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Remove the comment above the deletion-vector guard; the exception message below states the same.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai groeneai added can be tested Allows running workflows for external contributors groeneai-origin-request PR origin: a maintainer pinged or directed groeneai labels Sep 27, 2026
@groeneai

Copy link
Copy Markdown
Collaborator Author
Internal second-model review: adjudication log (click to expand)

Pre-publication review by an independent model (engine: codex; 2 findings in round 1, 0 after the fix round) plus my own cold review of each round.

# Sev Finding Verdict Evidence / action
1 ⚠️ The test did not pin the case-insensitive match or that an explicit 'false' stays readable AGREE, fixed @ 69c8f02 Added a 'TRUE' copy of the fixture (refused) and a 'false' copy of an append-only table (reads)
2 ⚠️ The incremental arm did not prove the Keeper watermark stays unset AGREE, fixed @ 69c8f02 The test now checks that no committed_snapshot node exists after the refused read (it is 1 on master)
3 💡 paimon_target_snapshot_id reads are refused, although deletion vectors cannot change one snapshot's delta AGREE, no change Same unconditional shape as #113460; the description states that targeted reads are refused
4 💡 The description said an update or delete never rewrites data files, and named only tables with no delete yet as over-refused AGREE, fixed in the description A deletion-vector table's DELETE can be copy-on-write, so the cost is now stated as "no deletion vector in the snapshot"
5 💡 Not covered: append tables with data-evolution.enabled (Paimon 1.3+ merges their column files by row id when reading) AGREE, no change Out of scope for this PR; the earlier #113460 probe of that shape ran only a copy-on-write DELETE, so an UPDATE there is unmeasured

Severity: ❌ blocker / ⚠️ major / 💡 nit. DISAGREE verdicts carry recorded evidence and are
terminal per finding. Findings on hunks unchanged by the fix round are auto-dropped.

Session id: cron:clickhouse-review-slot-8:20260927-044600

@clickhouse-gh

clickhouse-gh Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [a6a5aeb]

Summary: ✅


AI Review

Summary

This change refuses Apache Paimon snapshots with live deletion vectors instead of returning deleted or superseded rows. It checks the snapshots used by full, targeted, and incremental reads, preserves the incremental cursor on refusal, and documents recovery. No actionable findings remain in head a6a5aebd74ed3110b06ef1821f31652334451ada.

Missing context / blind spots
  • ⚠️ The current head's integration and unit jobs are still pending in the Praktika report. Earlier CI confirms all four original deletion-vector regression cases pass; the updated five-case suite has author-reported local validation. Current-head CI completion would close this validation gap. No local build or test run was performed during this review.
Final Verdict

Status: ✅ Approve. No code changes requested; required CI must finish before merging.

@clickhouse-gh clickhouse-gh Bot added the pr-bugfix Pull request with bugfix, not backported by default label Sep 27, 2026
@JiaQiTang98 JiaQiTang98 self-assigned this Sep 27, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. label Sep 27, 2026
groeneai and others added 3 commits October 6, 2026 16:33
Base the deletion-vector refusal on the index manifest of every snapshot
that is actually read (full scan, `paimon_target_snapshot_id`, incremental
reads) instead of the `deletion-vectors.enabled` schema option. The option
can be turned off while the index manifest still lists live deletion
vectors, so the latest schema can say 'false' for a snapshot that has them.

The check runs in `collectDataFilesFromManifests`, which every read mode
goes through, before any Keeper watermark is committed. It re-reads the
snapshot file by id because the index manifest name is not part of the
serialized table state. A snapshot without deletion vectors (for example,
one written before the first delete) is read as before.

Paimon writes only live entries into an index manifest, and its reader
treats every `DELETION_VECTORS` entry as live, so a snapshot has deletion
vectors iff its index manifest has such an entry.

New fixture `paimon_append_deletion_vectors_disabled`: the deletion-vector
table after `ALTER TABLE ... SET TBLPROPERTIES ('deletion-vectors.enabled'
= 'false')` and one more insert, without a full compaction.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tors

A resumed incremental read skips `COMPACT` snapshots, but its watermark
still moves past them. The compaction that adds a deletion vector is one
of them, so with only the data-file check a reader at snapshot 2 that
reached snapshot 3 returned nothing and committed 3 instead of throwing.
Check each skipped compaction too, outside the catch-all for missing
snapshots so the error propagates.

05259 replays the writer's commit of snapshot 3 for a reader that
consumed snapshot 2 and asserts the refusal and the unchanged watermark.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
When compaction removes the last deletion vector of a bucket, Paimon
writes an empty `DELETION_VECTORS` index file (`_ROW_COUNT` 0) that
replaces the old one, and its reader applies nothing from it. Count only
entries with deletion vectors, so a fully compacted bucketed table reads
again.

New fixture `paimon_append_deletion_vectors_compacted`: a bucketed
deletion-vector table after an UPDATE and a full compaction.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
groeneai and others added 2 commits October 6, 2026 19:51
`hasDeletionVectors` joined the snapshot's `indexManifest` to the table path
without validation, so an absolute path or `..` made ClickHouse open a file
outside the table root before deciding whether the snapshot is readable.
Validate it with `checkPathIsRelativeToTable`, like the manifest list and
manifest readers, and cover both shapes in 05301.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Build profile diff (arm_release)

Comparing a6a5aebd7 with master 765356485 (stripped binary size, per-symbol sizes and ThinLTO time; object sizes against the warmup build of bfaa2a05e; 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.

Object file sizes

198 object files changed (+104.49 KiB total), 0 added.

Object file Master PR Δ
src/CMakeFiles/dbms.dir/Storages/ObjectStorage/DataLakes/Paimon/PaimonMetadata.cpp.o 752.02 KiB 775.20 KiB +23.18 KiB (+3.08%)

719 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only clickhouse-bundle) and not compared.

Compile time of recompiled translation units

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

Job report

@JiaQiTang98

Copy link
Copy Markdown
Contributor

@groeneai This PR adds too many test data files. Could we generate these files at test runtime instead? For example, dynamically invoke the corresponding JARs or Spark programs at runtime.

@groeneai

groeneai commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator Author

Agreed. I'll drop 05259 and its three fixture directories and replace them with an integration test that creates the tables at runtime with the Paimon Spark bundle already baked into the integration runner image (paimon-spark-3.5 1.1.1, the version that wrote these fixtures), following test_paimon_spark_smoke. I'll reply here with the commit.

Replace 05259 and its three Spark-generated fixture directories with an
integration test that writes the tables at runtime with the Paimon Spark
bundle baked into the integration runner image (paimon-spark-3.5 1.1.1,
the writer that produced the fixtures), as test_paimon_spark_smoke does.

The arms are the same: a full scan and count() of a table with a deletion
vector are refused, also after deletion-vectors.enabled is turned off
without a full compaction; a table whose full compaction applied the
deletion vector is read; a targeted read of the snapshot that added it is
refused while the one before is read; an incremental reader that already
consumed snapshot 1 is refused at the skipped COMPACT snapshot and keeps
its watermark, and a fresh incremental reader is refused and records none.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai

groeneai commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator Author

Done in e690f27: 05259 and its three fixture directories are removed. The new integration test test_paimon_deletion_vectors creates the tables at runtime with Spark (paimon-spark-3.5 1.1.1 from the runner image) and keeps the same cases, including the table where deletion vectors were turned off without a full compaction. It passes 20/20 locally, and its refusal cases fail on master.

The deletion-vector check re-read `snapshot/snapshot-<id>` at execution
time only to get its `indexManifest`, although the state pinned during
analysis came from that same file. A full scan therefore opened the
snapshot file twice, and the targeted and incremental reads loaded every
snapshot twice. The pinned state was also no longer sufficient to execute
the read.

Carry `indexManifest` in `Paimon::TableStateSnapshot` (in memory and in
its serialization) and check the state that is actually read. Measured with
strace on a full scan: `snapshot-N` is opened 2 times before, 1 time after;
the refusal and the results are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
`Paimon::TableStateSnapshot` gained the serialized `index_manifest` field in
2147cac, but `DATA_LAKE_TABLE_STATE_SNAPSHOT_PROTOCOL_VERSION` stayed 1,
so a buffer written with the version 1 layout failed to decode ("Attempt to
read after eof") and an older reader could not tell the new layout apart.

Bump the protocol version to 2, read the index manifest only for version 2,
and keep decoding the version 1 layout of every format. The outer and Iceberg
layouts did not change, so both accept versions 1 and 2.

Unit tests: a round trip of the Paimon state with and without an index
manifest, and a hand-written version 1 Paimon buffer that must still decode.
The latter fails on the previous head and passes with this change.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai

Copy link
Copy Markdown
Collaborator Author

Merged master (ae0dac428af) in 5ab27c557e5, no conflicts. On the merged build, test_paimon_deletion_vectors (4/4) and the 15 Paimon stateless tests, including 04749 and 05301, pass.

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 5ab27c5

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
Integration tests (arm_binary, 2/4) / test_database_disk/test.py::test_copy_of_temporary_table_under_unrelated_name not from this PR (it only changes the Paimon reader, the data-lake table-state snapshot and their tests): the test still expected a startup failure that the duplicate-UUID rule of #123902 no longer produces. The tree that ran does not contain the test fix #125292 (mine, merged), merged master @ 9e1149f
Stateless tests (arm_binary, s3 storage, DBReplicated, parallel, 1/2) / 00956_join_use_nulls_with_array_column flaky, not from this PR: the ANY LEFT JOIN ... LIMIT 1 query has no ORDER BY, so a randomized join order can return another left row; 89 of 89 reruns with the same settings passed, and it also failed on master and on other PRs #125133 (external, open)
Mergeable Check, PR praktika rollups of the rows above #125292 (mine, merged), merged master @ 9e1149f, and #125133 (external, open)

The other FAIL rows on this head are the expected Bugfix validation inversion of 04749_paimon_primary_key_unmerged and one row inside the green Stress test (amd_debug) check.

Session id: cron:our-pr-ci-monitor:20261012-193011

Comment thread src/Core/ProtocolDefines.h Resolved
The data-lake table state serializer wrote the global maximum protocol
version for every variant, so bumping it to 2 for the Paimon index
manifest also relabeled unchanged Iceberg and Delta Lake buffers as v2,
which older peers reject ("maximum supported version is 1"). Write each
variant with the lowest version that has its layout: 1 for Iceberg and
Delta Lake, 2 for Paimon. Decoders still accept both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Comment thread src/Core/ProtocolDefines.h Outdated
static constexpr auto DBMS_CLUSTER_PROCESSING_PROTOCOL_VERSION = DBMS_CLUSTER_PROCESSING_PROTOCOL_VERSION_WITH_ICEBERG_DELETION_VECTORS;

static constexpr auto DATA_LAKE_TABLE_STATE_SNAPSHOT_PROTOCOL_VERSION = 1;
static constexpr auto DATA_LAKE_TABLE_STATE_SNAPSHOT_INITIAL_PROTOCOL_VERSION = 1;

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.

The new Paimon field should not change the shared state protocol version or the Iceberg deserializer. serializeDataLakeTableStateSnapshot and deserializeDataLakeTableStateSnapshot still have no callers outside the gtest, so no build has ever written or read a Paimon state, and there is no version 1 Paimon layout to stay compatible with. cc @groeneai

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done in 2c13034af01c4: ProtocolDefines.h, DataLakeTableStateSnapshot.cpp and the Iceberg deserializer are back to master, and index_manifest is read as part of the version 1 Paimon layout. I confirmed both functions are called only from gtest_datalake_table_state_serde.cpp; the gtest now keeps just the Paimon round trip, with and without an index manifest.

groeneai and others added 2 commits October 13, 2026 07:27
The serialized `Paimon::TableStateSnapshot` gained the `index_manifest`
field, and the earlier commits bumped the shared
`DATA_LAKE_TABLE_STATE_SNAPSHOT_PROTOCOL_VERSION` (and then wrote per-type
versions) so a version 1 Paimon buffer would still decode. No such buffer
exists: `serializeDataLakeTableStateSnapshot` and
`deserializeDataLakeTableStateSnapshot` have no callers outside
`gtest_datalake_table_state_serde.cpp`, so no build has ever written or
read a Paimon state.

Revert `ProtocolDefines.h`, the outer serde and the Iceberg deserializer
to master, and read the index manifest as part of the version 1 Paimon
layout. The unit test keeps the Paimon round trip with and without an
index manifest; the per-version tests are removed with the versions.

Requested in ClickHouse#122506 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ctor test

Each arm now checks, right before it reads, the `(id, commit_kind)` of
every snapshot (`$snapshots`) and the row count of each deletion vectors
index file of the latest snapshot (`$table_indexes`): `[1]` for a live
deletion vector, `[0]` for the empty file a full compaction of a bucketed
table leaves, `[]` for none. The option-off arm also reads back
`deletion-vectors.enabled = false`. A change in what the Spark writer
produces then fails the test instead of silently changing what the read
arms exercise. Expecting `[0]` instead of `[1]` in the resumed incremental
arm fails it.

Requested in ClickHouse#122506 (comment)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 8d080ad

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
AST fuzzer (amd_debug, targeted, old_compatibility) / Logical error: Cannot call function A because is has B arguments but C columns were captured. (STID: 2458-4cb4) not from this PR (it changes the Paimon reader only): the fuzzed query reads system.query_log, and the reduced and built by VirtualColumnUtils::filterBlockWithExpression during virtual-column part pruning is evaluated lazily with the wrong arity. The same STID hit 46 other PRs and master in 3 days #125126 (mine, open)
Stateless tests (amd_tsan, s3 storage, targeted) not from this PR: the job errored before running any test. Its test-selection step could not reach the CI database (play.clickhouse.com refused connections, [Errno 111] Connection refused, around 09:30 UTC), so Failed to get previously failed tests required for test selection a fix task is moved to pending (investigating at full effort, fixing-PR link to follow here)
Integration tests (amd_msan, targeted) same CI database outage in the test-selection step, no test ran a fix task is moved to pending (same task as above)
Integration tests (amd_tsan, targeted) same CI database outage in the test-selection step, no test ran a fix task is moved to pending (same task as above)
Integration tests (arm_binary, distributed plan, targeted) same CI database outage in the test-selection step, no test ran a fix task is moved to pending (same task as above)

Mergeable Check and PR are the praktika rollups of the rows above. The report has no other failed check on this head; test_paimon_deletion_vectors, 05301_paimon_manifest_path_traversal, 04749_paimon_primary_key_unmerged and the DatalakeStateSerde / Paimon* unit tests passed in every job that ran them.

Session id: cron:our-pr-ci-monitor:20261013-120004

@JiaQiTang98

Copy link
Copy Markdown
Contributor

@groeneai check CI

@groeneai

Copy link
Copy Markdown
Collaborator Author

I checked CI on 8d080ad. None of the 5 failed jobs comes from this PR:

The tests of this PR passed in every job that ran them: test_paimon_deletion_vectors 4/4 in Integration tests (amd_asan_ubsan, db disk, targeted), (arm_binary, 4/4) and (amd_asan_ubsan, flaky); the Paimon stateless tests in the asan, msan, tsan, debug and binary flaky checks; the DatalakeStateSerde and Paimon gtests under asan, msan and tsan. The missing coverage is the msan/tsan integration run, because those targeted jobs never started.

I cannot re-run jobs. If you want a clean run, I can merge master: it brings #125126 and re-runs the four targeted jobs.

@JiaQiTang98

Copy link
Copy Markdown
Contributor

@groeneai merge master

groeneai and others added 2 commits October 14, 2026 06:14
The integration runner now writes the tables with Spark 4.0 and
paimon-spark-4.0 1.3.2 (ClickHouse#125458) instead of paimon-spark-3.5 1.1.1.
Paimon 1.3.2 commits UPDATE on an append table with deletion vectors as
one OVERWRITE snapshot that carries the deletion vector, instead of an
APPEND snapshot followed by a COMPACT snapshot that adds it, so every
snapshot after the update moves down by one id.

Update the expected layouts, refuse the targeted read of the OVERWRITE
snapshot 2, and use snapshot 1, the only one without deletion vectors,
as the targeted-read control.

With this writer no test reached the check on skipped COMPACT snapshots
any more. Add test_skipped_compaction: a partial compaction of one
partition commits a COMPACT snapshot whose index manifest still lists the
other partition's deletion vector, and an incremental read with its
cursor just before it must refuse and keep the cursor.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@groeneai

Copy link
Copy Markdown
Collaborator Author

Merged master (d245b78661a) in 14b91754b1a, no conflicts. Besides #125126 it brings #125458, which moves the integration runner to Spark 4.0 with paimon-spark-4.0 1.3.2. Paimon 1.3.2 commits the UPDATE as one OVERWRITE snapshot carrying the deletion vector, where 1.1.1 wrote an APPEND and then a COMPACT snapshot, so all four test_paimon_deletion_vectors cases failed at the snapshot layout assertion.

7e0be1667c7 updates the expected layouts and snapshot ids (the targeted-read control is now snapshot 1). With this writer no case reached the check on skipped COMPACT snapshots any more, so it also adds test_skipped_compaction: a partial compaction of one partition leaves the other partition's vector in a COMPACT snapshot, and the incremental read must refuse it and keep its cursor.

On the merged build, with Spark 4.0 and Paimon 1.3.2 from the current runner image, test_paimon_deletion_vectors passes 5/5 and master fails all 5. Dropping the skipped COMPACT check fails the new case, and the 15 Paimon stateless tests pass. I updated the PR description to match.

@groeneai

Copy link
Copy Markdown
Collaborator Author

CI finish ledger - 7e0be16

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
Stateless tests (arm_asan_ubsan, targeted) not from this PR: the job ran no test. Its test-selection step could not reach the CI database again (play.clickhouse.com refused connections, [Errno 111] Connection refused, 09:40-09:43 UTC), so Failed to get previously failed tests required for test selection #125613 (mine, open): it fixes the timeout case of this same lookup and asks the CI owner whether a refused connection should skip the job too; the outcome will be posted here
Integration tests (amd_asan_ubsan, db disk, targeted) same CI database outage in the test-selection step (09:44-09:48 UTC), no test ran, so test_paimon_deletion_vectors did not run on this head #125613 (mine, open), same as above
Finish Workflow / new_tests_check.py knock-on of the rows above: the four Bugfix validation jobs were DROPPED after the targeted errors, so A bug fix is validated when at least one per-arch Bugfix validation job reports OK or XFAIL; none did. #125613 (mine, open), same as above
Mergeable Check, PR praktika rollups of the rows above #125613 (mine, open)

73 jobs of this run were DROPPED after the targeted errors. The Paimon stateless tests passed in all five flaky checks and in Stateless tests (amd_asan_ubsan, db disk, distributed plan, targeted), and the Paimon unit tests passed under asan, msan and tsan.

Session id: cron:our-pr-ci-monitor:20261014-130007

@groeneai

Copy link
Copy Markdown
Collaborator Author

Fixing PR for the targeted-job test-selection Connection refused errors in the CI ledgers above (2026-10-13 and 2026-10-14): #125613. A refused connection to the CI database is now retried for up to 3 minutes, then the targeted job skips instead of erroring.

@JiaQiTang98

Copy link
Copy Markdown
Contributor

@groeneai merge master and rerun CI

@groeneai

Copy link
Copy Markdown
Collaborator Author

Merged master (7653564850a) in a6a5aebd74e, no conflicts. The PR's own change is unchanged. The push started a new CI run: https://github.com/ClickHouse/ClickHouse/actions/runs/39366830534

On the merged build locally, test_paimon_deletion_vectors passes 5/5 with Spark 4.0 / Paimon 1.3.2 (the same 5 fail on current master), and all 15 Paimon stateless tests pass.

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-datalake Data lake table formats (Iceberg/Delta/Hudi) integration. groeneai-origin-request PR origin: a maintainer pinged or directed groeneai 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.

Paimon deletion vectors ignored: append tables return superseded rows

3 participants