spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-12259) Kryo/javaSerialization encoder are not composable
Date Fri, 21 Apr 2017 08:14:04 GMT

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

Sean Owen resolved SPARK-12259.
-------------------------------
    Resolution: Cannot Reproduce

> Kryo/javaSerialization encoder are not composable
> -------------------------------------------------
>
>                 Key: SPARK-12259
>                 URL: https://issues.apache.org/jira/browse/SPARK-12259
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.6.0
>            Reporter: Xiao Li
>
> {code}
> implicit val kryoEncoder = Encoders.kryo[KryoClassData]
> val ds = Seq( ( KryoClassData("a", 1), KryoClassData("b", 2) ) ).toDS()
> {code}
> The above code complains it is unable to find the encoder. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message