You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Weichen Xu (JIRA)" <ji...@apache.org> on 2019/04/23 21:21:00 UTC

[jira] [Commented] (SPARK-27534) Do not load `content` column in binary data source if it is not selected

    [ https://issues.apache.org/jira/browse/SPARK-27534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824554#comment-16824554 ] 

Weichen Xu commented on SPARK-27534:
------------------------------------

I am working on this. :)

> Do not load `content` column in binary data source if it is not selected
> ------------------------------------------------------------------------
>
>                 Key: SPARK-27534
>                 URL: https://issues.apache.org/jira/browse/SPARK-27534
>             Project: Spark
>          Issue Type: Story
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Xiangrui Meng
>            Assignee: Weichen Xu
>            Priority: Major
>
> A follow-up task from SPARK-25348. To save I/O cost, Spark shouldn't attempt to read the file if users didn't request the `content` column. For example:
> {code}
> spark.read.format("binaryFile").load(path).filter($"length" < 1000000).count()
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org