Skip to content

Commit acff84d

Browse files
committed
add upgrade note
1 parent 41c99ad commit acff84d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/source/library-user-guide/upgrading.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ schema. To upgrade structs which implement `PhysicalExpr` you need to implement
4646
the `return_field` function. There are numerous examples in the `physical-expr`
4747
crate.
4848

49+
### `FileFormat::supports_filters_pushdown` replaced with `FileSource::try_pushdown_filters`
50+
51+
To support more general filter pushdown, the `FileFormat::supports_filters_pushdown` was replaced with
52+
`FileSource::try_pushdown_filters`.
53+
If you implemented a custom `FileFormat` that uses a custom `FileSource` you will need to implement
54+
`FileSource::try_pushdown_filters`.
55+
`FileFormat::supports_filters_pushdown` has been removed.
56+
57+
See `ParquetSource::try_pushdown_filters` for an example of how to implement this.
58+
4959
## DataFusion `47.0.0`
5060

5161
This section calls out some of the major changes in the `47.0.0` release of DataFusion.

0 commit comments

Comments
 (0)