You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Guy Khazma (Jira)" <ji...@apache.org> on 2020/01/09 23:38:00 UTC

[jira] [Updated] (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 ]

Guy Khazma updated SPARK-30475:
-------------------------------
    External issue URL:   (was: 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
>            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, which consults 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