A few SQL-related tests fail in Scala 2.12, such as UDFSuite's "
SPARK-24891 Fix HandleNullInputsForUDF rule":
You can kind of get what's going on reading the test:
It seems that the closure that is fed in as a UDF changes behavior, in a way that primitive-type arguments are handled differently. For example an Int argument, when fed 'null', acts like 0.
I'm sure it's a difference in the LMF closure and how its types are understood, but not exactly sure of the cause yet.