You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Renat Yusupov (JIRA)" <ji...@apache.org> on 2014/10/03 13:36:33 UTC
[jira] [Created] (SPARK-3776) Wrong conversion to Catalyst for
Option[Product]
Renat Yusupov created SPARK-3776:
------------------------------------
Summary: Wrong conversion to Catalyst for Option[Product]
Key: SPARK-3776
URL: https://issues.apache.org/jira/browse/SPARK-3776
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 1.1.0
Reporter: Renat Yusupov
Fix For: 1.2.0
Method ScalaReflection.convertToCatalyst make wrong conversion for Option[Product] data.
For example:
case class A(intValue: Int)
case class B(optionA: Option[A])
val b = B(Some(A(5)))
ScalaReflection.convertToCatalyst(b) returns Seq(A(5)) instead of Seq(Seq(5))
--
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