DeltaScanBuilder
does not respect datafusion context's datafusion.execution.parquet.pushdown_filters
#2739
Labels
DeltaScanBuilder
does not respect datafusion context's datafusion.execution.parquet.pushdown_filters
#2739
Environment
Delta-rs version: 0.18.1
Binding: ?
Environment: MacOS & Linux
Bug
What happened:
When I set up a datafusion context with parquet filter pushdown enabled, I expect it to propagate the filters to the parquet scan. However, this does not happen.
When running this with
RUST_LOG=debug
, I see the following log line, indicating that no predicate was pushed down:(Note the "predicate: None")
What you expected to happen:
I expected predicates to be pushed down.
How to reproduce it:
From inspecting the code in
DeltaScanBuilder
and the implementation ofTableProvider
, it seems like the only way to enable pushdown is to useDeltaTableProvider
to set the scan config rather than directly registering theDeltaTable
with data fusion. However, due to #2602 this is not possible either. So I don't think it's possible for any use of delta-rs to do filter pushdown right now.More details:
The text was updated successfully, but these errors were encountered: