You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2020/01/21 04:24:00 UTC
[jira] [Resolved] (SPARK-30475) File source V2: Push data filters
for file listing
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org