Skip to content

test: cover Mosaic read compatibility#403

Merged
JingsongLi merged 1 commit into
apache:mainfrom
QuakeWang:mosaic-compat
Jun 23, 2026
Merged

test: cover Mosaic read compatibility#403
JingsongLi merged 1 commit into
apache:mainfrom
QuakeWang:mosaic-compat

Conversation

@QuakeWang

Copy link
Copy Markdown
Member

Purpose

Linked issue: close #378

Mosaic read support is already implemented and covered by Rust-generated reader tests, but the compatibility claim was not validated with a Paimon table fixture generated outside the current Rust test path. The docs also did not describe how to enable Mosaic reads or the current read-only scope.

Brief change log

  • Add a small PyPaimon-generated Mosaic table fixture.
  • Add a DataFusion read-only compatibility test covering full reads, projection reorder, SQL filtering, and fixture .mosaic presence.
  • Document the mosaic feature and current Mosaic read-only limitations.

Tests

  • cargo fmt --all -- --check
  • cargo test -p paimon-datafusion --features mosaic --test mosaic_tables
  • cargo clippy -p paimon-datafusion --features mosaic --test mosaic_tables -- -D warnings
  • cargo check -p paimon-datafusion --features mosaic --tests

API and Format

Documentation

Added Mosaic feature usage and read scope documentation.

Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>

@JingsongLi JingsongLi left a comment

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.

+1

@JingsongLi JingsongLi merged commit b2e73f9 into apache:main Jun 23, 2026
13 of 16 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.

feat: Support Mosaic file format in paimon-rust

2 participants