forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MINOR][SQL] Simplify the method resolveExprsAndAddMissingAttrs
### What changes were proposed in this pull request? The method `resolveExprsAndAddMissingAttrs` contains redundant code: getting the `newExprs` and `newChild` shows up 4 times in different branches. This PR is to simplify the implementation of the method. ### Why are the changes needed? Code clean up and remove redundant code. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests Closes apache#40761 from gengliangwang/cleanup. Lead-authored-by: Gengliang Wang <[email protected]> Co-authored-by: Gengliang Wang <[email protected]> Signed-off-by: Gengliang Wang <[email protected]>
- Loading branch information
1 parent
69abf14
commit c01dad4
Showing
1 changed file
with
29 additions
and
30 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