Skip to content

Compatibility with Spark 3.2.1 #605

@thesamet

Description

@thesamet

A change in Spark 3.2.1 broke binary compatibility with 3.2.0 by adding a parameter with default value to class Invoke. This breaks the call in Frameless RecordEncoder:

[info]   java.lang.NoSuchMethodError: 'void org.apache.spark.sql.catalyst.expressions.objects.Invoke.<init>(org.apache.spark.sql.catalyst.expressions.Expression, java.lang.String, org.apache.spark.sql.types.DataType, scala.collection.immutable.Seq, scala.collection.immutable.Seq, boolean, boolean)'
[info]   at frameless.RecordEncoder.$anonfun$toCatalyst$2(RecordEncoder.scala:154)

I believe that cutting a new release could break compatibility with 3.2.0. I filed https://issues.apache.org/jira/browse/SPARK-38077.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions