[ https://issues.apache.org/jira/browse/SPARK-30475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gengliang Wang resolved SPARK-30475. ------------------------------------ Assignee: Guy Khazma Resolution: Fixed This issue is resolved by https://github.com/apache/spark/pull/27157 > File source V2: Push data filters for file listing > -------------------------------------------------- > > Key: SPARK-30475 > URL: https://issues.apache.org/jira/browse/SPARK-30475 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 3.0.0 > Reporter: Guy Khazma > Assignee: Guy Khazma > Priority: Major > Fix For: 3.0.0 > > > Follow up on [SPARK-30428|https://github.com/apache/spark/pull/27112] 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. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org