[ https://issues.apache.org/jira/browse/SPARK-19741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15891548#comment-15891548 ]
Kazuaki Ishizaki edited comment on SPARK-19741 at 3/2/17 3:17 AM: ------------------------------------------------------------------ I am afraid whether my sample program succeeded to reproduce the original issue. This is because the title of this PR says {{ClassCastException}} while I got another exception. Otherwise, I agree that this is similar to SPARK-17368. was (Author: kiszk): I am afraid whether my sample program succeeded to reproduce the original issue. This is because the title of this PR says {{ClassCastException}} while I got another exception. > ClassCastException when using Dataset with type containing value types > ---------------------------------------------------------------------- > > Key: SPARK-19741 > URL: https://issues.apache.org/jira/browse/SPARK-19741 > Project: Spark > Issue Type: Bug > Components: Spark Core, SQL > Affects Versions: 2.1.0 > Environment: JDK 8 on Ubuntu > Scala 2.11.8 > Spark 2.1.0 > Reporter: Lior Regev > > The following code reproduces the error > {code} > final case class Foo(id: Int) extends AnyVal > final case class Bar(foo: Foo) > val foo = Foo(5) > val bar = Bar(foo) > import spark.implicits._ > spark.sparkContext.parallelize(0 to 10).toDS().map(_ => bar).collect() > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org