spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pooja mehta <sparkrad...@gmail.com>
Subject How to use Spark scala custom UDF in spark sql CLI or beeline client
Date Sun, 17 Jul 2016 16:37:45 GMT
Hi,

How to Use Spark scala custom UDF in spark sql CLI or Beeline client.
with sqlContext we can register a UDF like this:
 sqlContext.udf.register("sample_fn", sample_fn _ )
What is the way to use UDF in Spark sql CLI or beeline client.

Thanks
Pooja

Mime
View raw message