Looking at the source code for AbstractGenericUDAFResolver, the following
(non-deprecated) method should be called:
public GenericUDAFEvaluator getEvaluator(GenericUDAFParameterInfo info)
It is called by hiveUdfs.scala (master branch):
val parameterInfo = new
Hi,
The following SQL query
select percentile_approx(variables.var1, 0.95) p95
from model
will throw
ERROR SparkSqlInterpreter: Error
org.apache.hadoop.hive.ql.parse.SemanticException: This UDAF does not
support the deprecated getEvaluator() method.
at
Yeah, it's a bug. It has been fixed by
https://issues.apache.org/jira/browse/SPARK-3891 in master.
On Tue, Jan 13, 2015 at 2:41 PM, Ted Yu yuzhih...@gmail.com wrote:
Looking at the source code for AbstractGenericUDAFResolver, the following
(non-deprecated) method should be called:
public
Ah, thx Ted and Yin!
I'll build a new version. :)
Jianshi
On Wed, Jan 14, 2015 at 7:24 AM, Yin Huai yh...@databricks.com wrote:
Yeah, it's a bug. It has been fixed by
https://issues.apache.org/jira/browse/SPARK-3891 in master.
On Tue, Jan 13, 2015 at 2:41 PM, Ted Yu yuzhih...@gmail.com