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

Apache Spark commented on SPARK-34067:
--------------------------------------

User 'monkeyboy123' has created a pull request for this issue:
https://github.com/apache/spark/pull/31122

> PartitionPruning push down pruningHasBenefit function into insertPredicate 
> function to decrease calculate time
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-34067
>                 URL: https://issues.apache.org/jira/browse/SPARK-34067
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: jiahong.li
>            Priority: Trivial
>
> in the class PartitionPruning, function prune, push pruningHasBenefit 
> function into insertPredicate function, as `SQLConf.get.exchangeReuseEnabled` 
> is always  true default and 
> `SQLConf.get.dynamicPartitionPruningReuseBroadcastOnly `  is always true 
> default.
> by set hasBenefit to lazy ,we can do not need invoke hasBenefit ,so we can 
> save time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to