juntaozhang opened a new pull request, #7950:
URL: https://github.com/apache/paimon/pull/7950
### Purpose
This PR is a prerequisite for [`[spark] Support compact_chain_table
procedure`](https://github.com/apache/paimon/pull/7313).
`FallbackReadScan` currently uses a single `partitionPredicate` for both
main and fallback scans. However, in chain table compaction scenarios, we need
to apply different
partition filters to the main (snapshot) branch and the fallback (delta)
branch. For example, when overwriting an existing partition, we need to:
- Exclude the target partition from the main scan
- Include only the target partition in the fallback scan
This PR refactors `FallbackReadScan` to support separate partition
predicates for main and fallback scans.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]