GitHub user yinxusen opened a pull request:

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

    [SPARK-12834] Change ser/de of JavaArray and JavaList

    https://issues.apache.org/jira/browse/SPARK-12834
    
    We use `SerDe.dumps()` to serialize `JavaArray` and `JavaList` in 
`PythonMLLibAPI`, then deserialize them with `PickleSerializer` in Python side. 
However, there is no need to transform them in such an inefficient way. Instead 
of it, we can use type conversion to convert them, e.g. `list(JavaArray)` or 
`list(JavaList)`. What's more, there is an issue to Ser/De Scala Array as I 
said in https://issues.apache.org/jira/browse/SPARK-12780

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

    $ git pull https://github.com/yinxusen/spark SPARK-12834

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

    https://github.com/apache/spark/pull/10772.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 #10772
    
----
commit 4e8df6c64754c0567a532e587a554d67053d2aeb
Author: Xusen Yin <[email protected]>
Date:   2016-01-15T14:05:22Z

    change ser/de of JavaArray and JavaList

----


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