[ https://issues.apache.org/jira/browse/SPARK-38681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514064#comment-17514064 ]
Apache Spark commented on SPARK-38681: -------------------------------------- User 'eejbyfeldt' has created a pull request for this issue: https://github.com/apache/spark/pull/36004 > Support nested generic case classes > ----------------------------------- > > Key: SPARK-38681 > URL: https://issues.apache.org/jira/browse/SPARK-38681 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.3.0, 3.4.0 > Reporter: Emil Ejbyfeldt > Priority: Major > > Spark fail to derive schemas when using nested case class with generic > parameters. > Example > {code:java} > case class GenericData[A]( > genericField: A) > {code} > Will derive a correct schema for `GenericData[Int]` but if the classes are > nested e.g. > {code:java} > case class NestedGeneric[T]( > generic: GenericData[T]) > {code} > it will fail to derive a schema for `NestedGeneric[Int]`. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org