Skip to content

feat(read): prune Parquet row groups for multi-file data evolution - #478

Closed
linchen1101 wants to merge 1 commit into
alibaba:mainfrom
linchen1101:main-support-data-evolution-multi-files-push-down
Closed

linchen1101 wants to merge 1 commit into
alibaba:mainfrom
linchen1101:main-support-data-evolution-multi-files-push-down

Conversation

@linchen1101

Copy link
Copy Markdown

Purpose

Linked issue: TBD

Data Evolution can store columns from the same logical rows in separate Parquet files.

Use the newest file for each predicate field and intersect candidate row ID ranges before merging. Apply residual filtering after the merge to preserve exact results.

Tests

  • Extended DataEvolutionTableTest.TestMergedParquetRowGroupPredicatePushDown to cover cross-file predicates and residual filtering on an unbucketed table with different row-group boundaries across files.
  • Tested row-group pruning and result correctness after Spark MERGE INTO on a fixed-bucket Data Evolution append table.

API and Format

Adds the optional RowGroupFilter reader interface. Pruning uses existing Parquet footer statistics and row IDs.

Documentation

The optimization applies automatically to eligible Data Evolution Parquet scans.

Generative AI tooling

Generated-by: OpenAI Codex (gpt-6.2-sol)

Use the newest file for each predicate field and intersect candidate row ID ranges before merging. Cover cross-file predicates and residual filtering in the Data Evolution regression.
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


linchen.23 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@linchen1101 linchen1101 closed this by deleting the head repository Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Thank you for your interest in Paimon C++!

Paimon C++ has moved to the Apache Software Foundation. Please submit issues and pull requests to the new repository: apache/paimon-cpp.

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