Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
3.2.1
-
None
-
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
- is broken by
-
SPARK-37957 Deterministic flag is not handled for V2 functions
- Resolved
- links to