GitHub user setjet opened a pull request:

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

    [Spark-20873][SQL] Improve the error message for unsupported Column Type

    ## What changes were proposed in this pull request?
    Upon encountering an invalid columntype, the column type object is printed, 
rather than the type.
    This  change improves this by outputting its name.
    
    ## How was this patch tested?
    Added a simple  unit test to verify the contents of the raised exception

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

    $ git pull https://github.com/setjet/spark spark-20873

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

    https://github.com/apache/spark/pull/18097.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 #18097
    
----
commit 69369fb876cd32e07e00b889ba9af46a831d48ec
Author: setjet <[email protected]>
Date:   2017-05-24T20:10:35Z

    added typename and corresponding unit test

----


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