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

[jira] [Created] (SPARK-12259) Kryo/javaSerialization encoder are not composable

Xiao Li created SPARK-12259:
-------------------------------

             Summary: 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.4#6332)

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