Skip to content

test: add mixed-format data evolution coverage#405

Open
liujiwen-up wants to merge 1 commit into
apache:mainfrom
liujiwen-up:test/258-mixed-format-data-evolution
Open

test: add mixed-format data evolution coverage#405
liujiwen-up wants to merge 1 commit into
apache:mainfrom
liujiwen-up:test/258-mixed-format-data-evolution

Conversation

@liujiwen-up

@liujiwen-up liujiwen-up commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Purpose

Linked issue: #258

Add core integration coverage for Spark-generated mixed-format data-evolution tables. This complements the existing mixed-format schema-evolution tests by enabling row-tracking.enabled and data-evolution.enabled on the fixtures.

MERGE and RowRange mixed-format data-evolution cases are intentionally left for follow-up because local validation exposed independent Spark/Paimon or reader behavior issues. This PR keeps the coverage focused on stable core read behavior.

Brief change log

  • Add data_evolution_mixed_format_add_column with Parquet old-schema files and ORC/Avro new-schema files.
  • Add data_evolution_mixed_format_type_promotion with Parquet INT files and ORC/Avro BIGINT files.
  • Add core read tests for scanned file formats, multiple schema ids, add-column null-fill, INT-to-BIGINT promotion, and _ROW_ID projection.

Tests

  • python3 -m py_compile dev/spark/provision.py: passed
  • cargo fmt --all -- --check: passed
  • make docker-up: passed
  • cargo test -p paimon-integration-tests --test read_tables data_evolution_mixed_format -- --nocapture: passed (3 passed)

API and Format

No API or storage format changes. This is fixture and integration-test coverage only.

Documentation

Not required; no user-facing behavior or API changes.

@QuakeWang QuakeWang left a comment

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.

+1

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