GitHub user maropu opened a pull request:

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

    [SPARK-17237][SQL] Remove unnecessary backticks in a pivot result schema 

    ## What changes were proposed in this pull request?
    A schema of pivot results has nested backticks (e.g. \`3_count(\`c\`)\`).
    Since `Dataset#resolve` cannot handle the nested backticks, these column 
references fail
    after pivoting. This pr is to remove the unnecessary backticks.
    
    ## How was this patch tested?
    Added a test in `DataFrameAggregateSuite`.


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

    $ git pull https://github.com/maropu/spark SPARK-17237

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

    https://github.com/apache/spark/pull/14812.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 #14812
    
----
commit 530d5c03b414d9743944d532ecb9e9bd1c0bf5a5
Author: Takeshi YAMAMURO <[email protected]>
Date:   2016-08-25T19:17:50Z

    Fix a bug to handle missing data after pivoting

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to