Commit ce3b03d
[SPARK-42852][SQL] Revert NamedLambdaVariable related changes from EquivalentExpressions
### What changes were proposed in this pull request?
This PR reverts the follow-up PR of SPARK-41468: apache#39046
### Why are the changes needed?
These changes are not needed and actually might cause performance regression due to preventing higher order function subexpression elimination in `EquivalentExpressions`. Please find related conversation here: apache#40473 (comment)
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Existing UTs.
Closes apache#40475 from peter-toth/SPARK-42852-revert-namedlambdavariable-changes.
Authored-by: Peter Toth <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>1 parent 1e7e47d commit ce3b03d
File tree
1 file changed
+2
-3
lines changed- sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
| 147 | + | |
| 148 | + | |
149 | 149 | | |
150 | | - | |
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
| |||
0 commit comments