GitHub user cloud-fan opened a pull request:

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

    [SPARK-15351][SQL] RowEncoder should support array as the external type for 
ArrayType

    ## What changes were proposed in this pull request?
    
    This PR improves `RowEncoder` and `MapObjects`, to support array as the 
external type for `ArrayType`. The idea is straightforward, we use `Object` as 
the external input type for `ArrayType`, and determine its type at runtime in 
`MapObjects`.
    
    
    ## How was this patch tested?
    
    new test in `RowEncoderSuite`
    


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

    $ git pull https://github.com/cloud-fan/spark map-object

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

    https://github.com/apache/spark/pull/13138.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 #13138
    
----
commit 366b02f7551309443b0e92314532558c1acd184a
Author: Wenchen Fan <[email protected]>
Date:   2016-05-16T14:51:58Z

    tmp

commit 3527ee3e05c90b53cf30948dbd19e08970f8f768
Author: Wenchen Fan <[email protected]>
Date:   2016-05-16T17:30:46Z

    RowEncoder should support array as the external type for ArrayType

----


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