You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Peter Aberline (JIRA)" <ji...@apache.org> on 2015/08/23 20:10:46 UTC

[jira] [Issue Comment Deleted] (SPARK-8510) NumPy arrays and matrices as values in sequence files

     [ https://issues.apache.org/jira/browse/SPARK-8510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Aberline updated SPARK-8510:
----------------------------------
    Comment: was deleted

(was: See PR at https://github.com/apache/spark/pull/6995)

> NumPy arrays and matrices as values in sequence files
> -----------------------------------------------------
>
>                 Key: SPARK-8510
>                 URL: https://issues.apache.org/jira/browse/SPARK-8510
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>            Reporter: Peter Aberline
>            Priority: Minor
>
> Using the DoubleArrayWritable as an example, I have added support for storing NumPy arrays and matrices as elements of Sequence Files.
> Each value element is a discrete matrix or array. This is useful where you have many matrices that you don't want to join into a single Spark Data Frame to store in a Parquet file.
> There seems to be demand for this functionality:
> http://mail-archives.us.apache.org/mod_mbox/spark-user/201506.mbox/%3CCAJQK-mg1PUCc_hkV=Q3n-01iOQ_pkWE1g-c39XiMCo3KhqngQg@mail.gmail.com%3E
> I originally put this work in PR 6995, but closed it after suggestions from a user to use NumPy's built in serialization. My second version is in PR 8384.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org