[ 
https://issues.apache.org/jira/browse/SPARK-11802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010076#comment-15010076
 ] 

Apache Spark commented on SPARK-11802:
--------------------------------------

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/9789

> Kryo-based encoder for opaque types
> -----------------------------------
>
>                 Key: SPARK-11802
>                 URL: https://issues.apache.org/jira/browse/SPARK-11802
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>
> Users of Spark SQL Datasets should be able to use objects that we don't 
> understand (i.e. today not primitives or case classes) in Spark Datasets.  To 
> allow this, lets add a default encoder that uses kryo to store the class as 
> bytes and presents it as a single field {{value}}.
> For now, lets require the user to explicitly pass the encoder, but as a bonus 
> we can explore the option to use this as a fallback automatically.
> This encoder should be usable in:
>  - as
>  - map/flatMap, etc
>  - Custom Aggregators
>  - Scala/Java



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

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

Reply via email to