You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yingyi Bu (Jira)" <ji...@apache.org> on 2021/04/20 07:28:00 UTC

[jira] [Created] (SPARK-35144) Migrate to Migrate to transformWithPruning or resolveWithPruning for object rules

Yingyi Bu created SPARK-35144:
---------------------------------

             Summary: Migrate to Migrate to transformWithPruning or resolveWithPruning for object rules
                 Key: SPARK-35144
                 URL: https://issues.apache.org/jira/browse/SPARK-35144
             Project: Spark
          Issue Type: Bug
          Components: Optimizer
    Affects Versions: 3.1.0
            Reporter: Yingyi Bu


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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org