We implement segment-elimination to do so. We even blogged about it: https://www.mooncake.dev/blog/duckdb-parquet