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

Snoot.io commented on SPARK-43420:
----------------------------------

User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/41100

> Make DisableUnnecessaryBucketedScan smart with table cache
> ----------------------------------------------------------
>
>                 Key: SPARK-43420
>                 URL: https://issues.apache.org/jira/browse/SPARK-43420
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.5.0
>            Reporter: XiDuo You
>            Priority: Major
>
> If a bucket scan has no interesting partition or contains shuffle exchange, 
> then we would disable it. But If the bucket scan is inside table cache, the 
> cached plan would be accessed multi-times, then we should not disable it as 
> it could preserve output partitioning and more likely be reused.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to