spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-32985) Decouple bucket filter pruning and bucket table scan
Date Fri, 05 Feb 2021 13:01:00 GMT

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

Wenchen Fan resolved SPARK-32985.
---------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

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

> Decouple bucket filter pruning and bucket table scan
> ----------------------------------------------------
>
>                 Key: SPARK-32985
>                 URL: https://issues.apache.org/jira/browse/SPARK-32985
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Cheng Su
>            Assignee: Cheng Su
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> As a followup from discussion in [https://github.com/apache/spark/pull/29804#discussion_r493100510] .
Currently in data source v1 file scan `FileSourceScanExec`, bucket filter pruning will only
take effect with bucket table scan - [https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/execution/DataSourceScanExec.scala#L542] .
However this is unnecessary, as bucket filter pruning can also happen if we disable bucketed
table scan. This help query leverage the benefit from bucket filter pruning to save CPU/IO
to not read unnecessary bucket files, and do not bound by bucket table scan when the parallelism
of tasks is a concern.



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


Mime
View raw message