GitHub user bravo-zhang opened a pull request:

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

    [SPARK-18950][SQL] Report conflicting fields when merging two StructTypes

    ## What changes were proposed in this pull request?
    
    Currently, StructType.merge() only reports data types of conflicting fields 
when merging two incompatible schemas. It would be nice to also report the 
field names for easier debugging.
    
    ## How was this patch tested?
    
    Unit test in DataTypeSuite.
    Print exception message when conflict is triggered.


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

    $ git pull https://github.com/bravo-zhang/spark spark-18950

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

    https://github.com/apache/spark/pull/16365.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 #16365
    
----
commit 9bc9f8a94d0c910f4fa795a4d05d6606fa35b1bc
Author: bravo-zhang <[email protected]>
Date:   2016-12-20T23:57:21Z

    [SPARK-18950][SQL] Report conflicting fields when merging two StructTypes

----


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