GitHub user CodingCat opened a pull request:

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

    [SPARK-18058][SQL] [BACKPORT-2.0]Comparing column types ignoring 
Nullability in Union and SetOperation 

    ## What changes were proposed in this pull request?
    
    The PR tries to fix 
[SPARK-18058](https://issues.apache.org/jira/browse/SPARK-18058) which refers 
to a bug that the column types are compared with the extra care about 
Nullability in Union and SetOperation.
    
    This PR converts the columns types by setting all fields as nullable before 
comparison
    
    ## How was this patch tested?
    
    regular unit test cases


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

    $ git pull https://github.com/CodingCat/spark branch-2.0

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

    https://github.com/apache/spark/pull/15602.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 #15602
    
----
commit ce4b93c1d7046b7a3e4bee4e924fd012f315f2ef
Author: CodingCat <zhunans...@gmail.com>
Date:   2016-10-23T17:57:31Z

    SPARK-18058

commit e0d806a5dc7698079f188851044b3cc1e0e39bb3
Author: CodingCat <zhunans...@gmail.com>
Date:   2016-10-23T17:59:57Z

    SPARK-18058

----


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