GitHub user JiahuiJiang opened a pull request: https://github.com/apache/spark/pull/20939
[SPARK-23823][SQL] Fix ResolveReferences ## What changes were proposed in this pull request? Fixes https://issues.apache.org/jira/browse/SPARK-23823 Introduced in apache#19585 ResolveReferences stopped doing transfromsUp after this change and Attributes sometimes lose its correct origin ## How was this patch tested? Manually tested after this change analyze won't throw away correct Origin for columns You can merge this pull request into a Git repository by running: $ git pull https://github.com/JiahuiJiang/spark jj/fix-resolve-references Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20939.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 #20939 ---- commit b4259d91679d5590c8fb343923fdf95de418687c Author: JiahuiJiang <jjiang@...> Date: 2018-03-29T17:48:34Z [SPARK-23823][SQL] Fix ResolveReferences ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org