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
{{ message }}
Repository navigation
[Feature] Support multi-file Parquet predicate pushdown in Data Evolution #616
I searched in the issues and found nothing similar.
Motivation
In production, we use Spark MERGE INTO to backfill newly added columns in Data Evolution tables. The original and backfilled columns can be stored in separate Parquet files for the same rows. The existing Parquet predicate pushdown works on the single-file read path. When a query filters on columns spread across multiple files, the merged scan can read unnecessary row groups.
Solution
Use Parquet footer statistics from the newest file containing each predicate field to identify candidate row ID ranges. Intersect those ranges and apply the same selection to every file before merging to preserve row alignment. Evaluate residual predicates after the merge.
Activity