You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2018/09/26 13:36:00 UTC

[jira] [Resolved] (SPARK-25379) Improve ColumnPruning performance

     [ https://issues.apache.org/jira/browse/SPARK-25379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-25379.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0

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

> Improve ColumnPruning performance
> ---------------------------------
>
>                 Key: SPARK-25379
>                 URL: https://issues.apache.org/jira/browse/SPARK-25379
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Optimizer, SQL
>    Affects Versions: 2.4.0
>            Reporter: Marco Gaido
>            Assignee: Marco Gaido
>            Priority: Major
>             Fix For: 2.5.0
>
>
> The {{--}} operation on {{AttributeSet}} is quite expensive, especially where many columns are involved. {{ColumnPruning}} heavily relies on that operator and this affects its running time. There are 2 optimization which are possible:
>  - Improve {{--}} performance;
>  - Replace {{--}} with {{subsetOf}} when possible.
> Moreover, when building {{AttributeSet}} s we often do unneeded operations. This also impacts other rules less significantly.
> I'll provide more details about the performance improvement achievable in the PR.



--
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