[
https://issues.apache.org/jira/browse/SPARK-35144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gengliang Wang resolved SPARK-35144.
------------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 32451
[https://github.com/apache/spark/pull/32451]
> Migrate to transformWithPruning or resolveWithPruning for object rules
> ----------------------------------------------------------------------
>
> Key: SPARK-35144
> URL: https://issues.apache.org/jira/browse/SPARK-35144
> Project: Spark
> Issue Type: Sub-task
> Components: Optimizer
> Affects Versions: 3.1.0
> Reporter: Yingyi Bu
> Assignee: Yingyi Bu
> Priority: Major
> Fix For: 3.2.0
>
>
> Rules in org/apache/spark/sql/catalyst/optimizer/objects.Scala
>
> Commit
> [https://github.com/apache/spark/commit/3db8ec258c4a8438bda73c26fc7b1eb6f9d51631]
> contains the framework level change and a few example rule changes.
>
> Example patterns:
> [https://github.com/apache/spark/blob/3db8ec258c4a8438bda73c26fc7b1eb6f9d51631/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreePatterns.scala#L24-L32]
>
> Example rule:
> [https://github.com/apache/spark/blob/3db8ec258c4a8438bda73c26fc7b1eb6f9d51631/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/CostBasedJoinReorder.scala]
>
> [https://github.com/apache/spark/pull/32247] is another example
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]