Description
Follow up on SPARK-30428 which added support for partition pruning in File source V2.
We should also pass the dataFilters to the listFiles method.
Datasources such as csv and json do not implement the SupportsPushDownFilters trait. In order to support data skipping uniformly for all file based data sources, one can override the listFiles method in a FileIndex implementation and use the dataFilters and partitionFilters to consult external metadata and prunes the list of files.
Attachments
Issue Links
- links to