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 2017/06/13 05:17:00 UTC

[jira] [Assigned] (SPARK-21072) `TreeNode.mapChildren` should only apply to the children node.

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

Apache Spark reassigned SPARK-21072:
------------------------------------

    Assignee: Apache Spark

> `TreeNode.mapChildren` should only apply to the children node. 
> ---------------------------------------------------------------
>
>                 Key: SPARK-21072
>                 URL: https://issues.apache.org/jira/browse/SPARK-21072
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.1
>            Reporter: coneyliu
>            Assignee: Apache Spark
>
> Just as the function name and comments of `TreeNode.mapChildren` mentioned, the function should be apply to all currently node children. So, the follow code  should judge whether it is the children node.
> [https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreeNode.scala#L342]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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