leaves12138 opened a new pull request, #8994: URL: https://github.com/apache/paimon/pull/8994
### Purpose `DataEvolutionFileStoreScan` keeps file statistics during manifest reading because predicate evaluation and per-file column pruning are performed in `postFilterManifestEntries`. When neither an input filter nor a read type is configured, `postFilterManifestEntriesEnabled()` previously returned `false`. As a result, calling `dropStats()` had no effect because the post-filtering hook that removes statistics was skipped. This change: - always enables post-filtering for data-evolution scans; - preserves row-id grouping, statistics filtering, and read-type pruning when an input filter or read type is present; - directly drops statistics when neither an input filter nor a read type is present; - adds a regression test for `dropStats()` without a filter or read type. ### Tests - `mvn -pl paimon-core -DwildcardSuites=none -Dtest=DataEvolutionTableTest#testDropStatsWithoutFilterOrReadType+testSystemFieldOnlyProjectionIsNotPruned test` - `mvn -pl paimon-core -Pfast-build -DwildcardSuites=none -Dtest=DataEvolutionTableTest test` (42 tests) -- 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]
