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

[jira] [Assigned] (SPARK-35147) Migrate to resolveWithPruning for two command rules

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

Apache Spark reassigned SPARK-35147:
------------------------------------

    Assignee: Apache Spark

> Migrate to resolveWithPruning for two command rules
> ---------------------------------------------------
>
>                 Key: SPARK-35147
>                 URL: https://issues.apache.org/jira/browse/SPARK-35147
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Optimizer
>    Affects Versions: 3.1.0
>            Reporter: Yingyi Bu
>            Assignee: Apache Spark
>            Priority: Major
>
> We can add one TreePattern called "COMMAND". Then, two rules to be migrated:
>  * ResolvePartitionSpec
>  * ResolveCommandsWithIfExists 
>  
> 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