GitHub user ahshahid opened a pull request:

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

    Spark 22192

    Fix for Bug 22192. 
    Recursively handle the nested POJOs when converting an RDD of nested 
JavaBean object into a DataFrame.
    
    Added a bug test (Bug SPARK-22192 Nested POJO object not handled when 
creating DataFrame from RDD)  in file org.apache.spark.sql.SQLContextSuite 
which will fail on the master and passes in the branch SPARK-22192


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

    $ git pull https://github.com/ahshahid/spark SPARK-22192

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

    https://github.com/apache/spark/pull/19421.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 #19421
    
----
commit 1fb1e1ad0d37578cb5a5bf25b22b886994fadc43
Author: ahshahid <[email protected]>
Date:   2017-10-02T23:26:17Z

    Update SQLContext.scala

commit 3074347360e8c18e947e52aea89491bb9e844d86
Author: Asif Shahid <[email protected]>
Date:   2017-10-03T19:23:57Z

    Fix for bug SPARK-22192. Recursively convert the nested POJOs into 
GenericInternalRow to avoid ScalaMatchErrorException

----


---

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

Reply via email to