GitHub user maryannxue opened a pull request:

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

    [SPARK-24583][SQL] Wrong schema type in InsertIntoDataSourceCommand

    ## What changes were proposed in this pull request?
    
    Change insert input schema type: "insertRelationType" -> 
"insertRelationType.asNullable", in order to avoid nullable being overridden.
    
    ## How was this patch tested?
    
    Added one test in InsertSuite.

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

    $ git pull https://github.com/maryannxue/spark spark-24583

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

    https://github.com/apache/spark/pull/21585.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 #21585
    
----
commit f099a678e1f6dc0bfb591206402397d492e7720d
Author: Maryann Xue <maryannxue@...>
Date:   2018-06-18T20:47:53Z

    [SPARK-24583] Wrong schema type in InsertIntoDataSourceCommand

----


---

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

Reply via email to