GitHub user ravipesala opened a pull request:

    https://github.com/apache/spark/pull/2594

    [SPARK-3708][SQL] Backticks aren't handled correctly is aliases

    The below query gives error 
    sql("SELECT k FROM (SELECT \`key\` AS \`k\` FROM src) a")
    It gives error because the aliases are not cleaned so it could not be 
resolved in further processing.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravipesala/spark SPARK-3708

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2594.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 #2594
    
----
commit d55db54a65c0cc8f743b3c7b775abebd13c8e0fa
Author: ravipesala <ravindra.pes...@huawei.com>
Date:   2014-09-30T16:29:42Z

    Fixed SPARK-3708 (Backticks aren't handled correctly is aliases)

----


---
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

Reply via email to