GitHub user peter-toth opened a pull request: https://github.com/apache/spark/pull/22817
[SPARK-25816][SQL] ResolveReferences should work bottom-up manner on expressions ## What changes were proposed in this pull request? ResolveReferences works top-down manner when resolving the expression tree, this PR changes the resolution order to bottom-up and so solves some issues. This PR also replaces the `resolve` method to the more general `transformExpressionsUp`. ## How was this patch tested? added UT You can merge this pull request into a Git repository by running: $ git pull https://github.com/peter-toth/spark SPARK-25816 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22817.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22817 ---- commit f62725f5378f365c58b4b01f2a078e5e93176cda Author: Peter Toth <peter.toth@...> Date: 2018-10-24T18:46:07Z [SPARK-25816][SQL] ResolveReferences works bottom-up on expressions ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org