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

[jira] [Resolved] (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:all-tabpanel ]

Xiangrui Meng resolved SPARK-27534.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

Issue resolved by pull request 24473
[https://github.com/apache/spark/pull/24473]

> 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
>             Fix For: 3.0.0
>
>
> 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