GitHub user huaxingao opened a pull request:

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

    [SPARK-25769][SQL]change nested columns from `a.b` to `a`.`b`

    ## What changes were proposed in this pull request?
    Currently, ```$"a.b".expr.asInstanceOf[UnresolvedAttribute].sql```
    returns 
    ```
    res1: String = `a.b`
    ```
    This PR will change the nested column to  
    ```
    `a`.`b`
    ```
    
    
    
    ## How was this patch tested?
    I didn't add any new test. However, I changed several of the existing tests 
to make them to expect the nested  columns to have the format of
    ```
    `a`.`b`
    ```
    
    


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

    $ git pull https://github.com/huaxingao/spark spark-25769

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

    https://github.com/apache/spark/pull/22788.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 #22788
    
----
commit 2aa4ad97c8b9df5fdd022653549a0252dbb819b6
Author: Huaxin Gao <huaxing@...>
Date:   2018-10-21T16:13:49Z

    [SPARK-25769][SQL]change nested columns from  to .

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to