pyspark.sql.utils.AnalysisException: No handler for UDF/UDAF/UDTF 'org.apache.hadoop.hive.ql.udf.generic.GenericUDAFHistogramNumeric': java.lang.NoSuchMethodException: org.apache.hadoop.hive.ql.udf.generic.SimpleGenericUDAFParameterInfo.<init>([Lorg.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;, boolean, boolean); line 4 pos 29
I get the above error when I try to use histogram_numeric from Hive in Spark SQL.
I've included the relevant hive-exec
jar, enabled hive support and I'm starting to wonder if this isn't supported at the moment.
Hive version: 3.1.2 Spark version: 3.0.0
If someone has a simple snippet which works for them when registering Hive UDAFs in Spark 3.0.0 that would be super useful too