You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2022/03/24 06:15:00 UTC

[jira] [Resolved] (SPARK-38585) Simplify the code of TreeNode.clone()

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

Wenchen Fan resolved SPARK-38585.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 35890
[https://github.com/apache/spark/pull/35890]

> Simplify the code of TreeNode.clone()
> -------------------------------------
>
>                 Key: SPARK-38585
>                 URL: https://issues.apache.org/jira/browse/SPARK-38585
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> SPARK-28057 adds {{forceCopy}} to private {{mapChildren}} method in {{TreeNode}} to realize the {{clone()}} method.
> After SPARK-34989, the call corresponding to {{forceCopy=false}} is changed to use {{{}withNewChildren{}}}, and {{forceCopy}} always true and the private {{mapChildren}} only used by {{clone()}} method.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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