Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-28057][SQL] Add method
clone
in catalyst TreeNode
## What changes were proposed in this pull request? Implemented the `clone` method for `TreeNode` based on `mapChildren`. ## How was this patch tested? Added new UT. Closes #24876 from maryannxue/treenode-clone. Authored-by: maryannxue <maryannxue@apache.org> Signed-off-by: herman <herman@databricks.com>
- Loading branch information
1 parent
b508eab
commit d1951aa
Showing
2 changed files
with
125 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters