qcert
qcert copied to clipboard
Remove Spark bug workaround
There is a bug in Spark regarding nontotal user-defined functions: https://issues.apache.org/jira/browse/SPARK-16681
We work around it with 6f92f8272b64d3ac0950e88a5a87b28a84e58fed, by making the unbrand UDF "total" (return null instead of throwing) but it would be nice to get rid of the workaround, once the underlying bug is fixed in Spark.