spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Paris <>
Subject Best approach to write UDF
Date Tue, 21 Jan 2020 17:29:17 GMT

I have written spark udf and I am able to use them in spark scala /
pyspark by using the API.

I d'like to use them in spark-sql thought thrift. I tried to create the
functions "create function as ''". however I get the below
error when using it:

> org.apache.spark.sql.AnalysisException: No handler for UDF/UDAF/UDTF '';

I have read there ( that
only the org.apache.hadoop.hive.ql.exec.UDF API works for thrift. 

How one can write UDF the good way ?



To unsubscribe e-mail:

View raw message