Filter[] pushedFilters()
SupportsPushDownFilters Contract — Data Source Readers with Filter Pushdown Optimization Support
SupportsPushDownFilters
is the extension of the DataSourceReader contract for data source readers in Data Source API V2 that support filter pushdown performance optimization (and hence reduce the size of the data to be read).
Method | Description |
---|---|
|
Data source filters that were pushed down to the data source (in pushFilters) Used exclusively when DataSourceV2Strategy execution planning strategy is executed (on a DataSourceV2Relation logical operator with a |
|
Data source filters that need to be evaluated again after scanning (so Spark can plan an extra filter operator) Used exclusively when DataSourceV2Strategy execution planning strategy is executed (on a DataSourceV2Relation logical operator with a |
Note
|
In other words, using the contract is as treading on thin ice. |