[ https://issues.apache.org/jira/browse/SPARK-44910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761036#comment-17761036 ]
Ignite TC Bot commented on SPARK-44910: --------------------------------------- User 'gbloisi-openaire' has created a pull request for this issue: https://github.com/apache/spark/pull/42634 > Encoders.bean does not support superclasses with generic type arguments > ----------------------------------------------------------------------- > > Key: SPARK-44910 > URL: https://issues.apache.org/jira/browse/SPARK-44910 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 3.4.1, 3.5.0, 4.0.0 > Reporter: Giambattista Bloisi > Priority: Major > > As per SPARK-44634 another unsupported feature of bean encoder is when the > superclass of the bean has generic type arguments. For example: > {code:java} > class JavaBeanWithGenericsA<T> { > public T getPropertyA() { > return null; > } > public void setPropertyA(T a) { > } > } > class JavaBeanWithGenericBase extends JavaBeanWithGenericsA<String> { > } > Encoders.bean(JavaBeanWithGenericBase.class); // Exception > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org