[
https://issues.apache.org/jira/browse/SPARK-3776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust resolved SPARK-3776.
-------------------------------------
Resolution: Fixed
Issue resolved by pull request 2641
[https://github.com/apache/spark/pull/2641]
> 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: [email protected]
For additional commands, e-mail: [email protected]