You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:14:21 UTC
[jira] [Resolved] (SPARK-22314) Accessing Hive UDFs defined without
'USING JAR' from Spark
[ https://issues.apache.org/jira/browse/SPARK-22314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-22314.
----------------------------------
Resolution: Incomplete
> Accessing Hive UDFs defined without 'USING JAR' from Spark
> -----------------------------------------------------------
>
> Key: SPARK-22314
> URL: https://issues.apache.org/jira/browse/SPARK-22314
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 2.2.0
> Reporter: Matyas Orhidi
> Priority: Major
> Labels: bulk-closed
>
> When defining UDF functions in Hive it is possible to load the UDF jar(s) from a shared location e.g. from hive.reloadable.aux.jars.path, and then use the CREATE FUNCTION statement:
> {{CREATE FUNCTION <your_function_name> AS '<fully_qualified_class_name>';}}
> These UDFs are not working from Spark unless you use the
> {{CREATE FUNCTION <your_function_name> AS '<fully_qualified_class_name>' USING JAR 'hdfs:///<path/to/jar/in/hdfs>';}}
> command to create the Hive UDF function.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org