You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(pruning): drive FilePruner via DynamicFilterTracker
Replace `FilePruner`'s hand-rolled `snapshot_generation()` polling (store last
`u64`, recompute + diff on every `should_prune`) with a `DynamicFilterTracking`
classification computed once at construction. The pruner rebuilds the pruning
predicate on the first check and thereafter only when a watched dynamic filter
has actually moved.
This also lets the Parquet opener skip wrapping the scan in `EarlyStoppingStream`
when the predicate is static or its dynamic filters are already complete: the
up-front `prune_file` check already captured everything such a predicate can
prune, so per-batch re-checking was pure overhead.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments