GitHub user dilipbiswal opened a pull request: https://github.com/apache/spark/pull/11538
[SPARK-13698][SQL] Fix Analysis Exceptions when Using Backticks in Generate ## What changes were proposed in this pull request? Analysis exception occurs while running the following query. ``` SELECT ints FROM nestedArray LATERAL VIEW explode(a.b) `a` AS `ints` ``` ``` Failed to analyze query: org.apache.spark.sql.AnalysisException: cannot resolve '`ints`' given input columns: [a, `ints`]; line 1 pos 7 'Project ['ints] +- Generate explode(a#0.b), true, false, Some(a), [`ints`#8] +- SubqueryAlias nestedarray +- LocalRelation [a#0], [[[[1,2,3]]]] ``` ## How was this patch tested? Added new unit tests in SQLQuerySuite and HiveQlSuite You can merge this pull request into a Git repository by running: $ git pull https://github.com/dilipbiswal/spark SPARK-13698 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/11538.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 #11538 ---- commit 385f6d49e0d472821b3ffa2f691bf2bbd2c068eb Author: Dilip Biswal <dbis...@us.ibm.com> Date: 2016-03-05T09:49:58Z [SPARK-13698] Fix Analysis Exceptions when Using Backticks in Generate ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org