[ https://issues.apache.org/jira/browse/SPARK-19741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15891463#comment-15891463 ]
Hyukjin Kwon edited comment on SPARK-19741 at 3/2/17 2:00 AM: -------------------------------------------------------------- I just tried the code above in the current master and it seems still not working whereas the reproducer in SPARK-17368 seems working fine. I tested both via IDE not Spark REPL. Apparently, it seems both JIRAs are similar. Maybe, we should make this as a duplicate and reopen SPARK-17368 (if both are the same issues but only the specific case is resolved) or describe the differences between them in more details. was (Author: hyukjin.kwon): I just tried the code above in the current master and it seems still not working whereas the reproducer in SPARK-17368 seems working fine. I tested both via IDE not Spark REPL. Apparently, it seems both JIRAs are similar. Maybe, we should make this as a duplicate or describe the differences between them in more details. > 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