RE: Register Spark UDF for use with Hive Thriftserver/Beeline

2017-02-28 Thread Lavelle, Shawn
5340-9457 Phone: 763 551 0559 Fax: 763 551 0750 Email: shawn.lave...@osii.com<mailto:shawn.lave...@osii.com> Website: www.osii.com<http://www.osii.com> From: Lavelle, Shawn Sent: Tuesday, February 28, 2017 10:25 AM To: user@spark.apache.org Subject: Register Spark UDF for use with Hive

Register Spark UDF for use with Hive Thriftserver/Beeline

2017-02-28 Thread Lavelle, Shawn
Hello all, I’m trying to make my custom UDFs available from a beeline session via Hive ThriftServer. I’ve been successful in registering them via my DataSourceAPI as it provides the current sqlContext. However, the udfs are not accessible at initial connection, meaning a query won’t parse a