Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-38077

Spark 3.2.1 breaks binary compatibility with Spark 3.2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.2.1
    • None
    • Spark Core
    • None

    Description

      PR 35243 introduced a new parameter to class `Invoke` with a default value (`isDeterministic: Boolean = true`). Existing Spark libraries (such as frameless) that invoke Invoke directly expect a method with 7 parameters, and the new version expects 8. If Frameless would recompile with Spark 3.2.1, the updated library will NOT be binary compatible with Spark 3.2.0. Adding default parameters to existing methods should be avoided.

      One way forward would be to revert the change in the constructor and introduce a second constructor or a companion method that takes all the 8 parameters.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thesamet Nadav Samet
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: