Reece
You can do the following. Start the spark-shell. Register the UDFs in the
shell using sqlContext, then start the Thrift Server using startWithContext
from the spark shell: https://github.com/apache/spark/blob/master/sql/hive-
>From tableau, you should be able to use the Initial SQL option to support
this:
So in Tableau add the following to the “Initial SQL”
create function myfunc AS 'myclass'
using jar 'hdfs:///path/to/jar';
HTH,
Todd
On Mon, Oct 19, 2015 at 11:22 AM, Deenar Toraskar
Have you tried registering the function using the Beeline client?
Another alternative would be to create a Spark SQL UDF and launch the Spark SQL
Thrift server programmatically.
Mohammed
-Original Message-
From: ReeceRobinson [mailto:re...@therobinsons.gen.nz]
Sent: Sunday, October