Skip to content

[python] Isolate layout-sensitive tests from automatic compaction - #10900

Merged
JingsongLi merged 1 commit into
apache:masterfrom
XiaoHongbo-Hope:codex/native-ci-compaction-fixtures
Oct 31, 2026
Merged

JingsongLi merged 1 commit into
apache:masterfrom
XiaoHongbo-Hope:codex/native-ci-compaction-fixtures

Conversation

@XiaoHongbo-Hope

@XiaoHongbo-Hope XiaoHongbo-Hope commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Native CI tracks paimon-rust main. After apache/paimon-rust#1259, automatic compaction can add snapshots, merge file groups and invoke additional commit callbacks. Tests that assume an append-only history now fail.

Use write-only=true in the rollback, creation-time and shard-balancing fixtures that require exact snapshots or unmerged files. The nullable-key MERGE test captures the source snapshot after writing and verifies that MERGE leaves it unchanged, retaining automatic compaction coverage.

Tests

  • Same Rust head 7483471147a7: unmodified Paimon master reproduces all 18 Native CI failures (196 passed).
  • With this change: 211 passed, 13 subtests passed; only the 3 pre-existing $schemas.update_time failures remain. Those require fix(schema): list persisted schemas independently of catalog cache paimon-rust#1260; their assertions are unchanged here.
  • Ordinary Python REST catalog tests: 26 passed, 13 subtests passed.
  • Configured Flake8, Python 3.6 compilation and git diff --check passed.

Both native runs cover all five affected test modules, with native planning, reading, writing, updates and commits enabled.

@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit 167746f into apache:master Oct 31, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants