[
https://issues.apache.org/jira/browse/HIVE-16929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ZhangBing Lin updated HIVE-16929:
---------------------------------
Description:
Add a configuration item "hive.aux.udf.package.name.list" in hive-site.xml,
which is a scan corresponding to the $HIVE_HOME/auxlib/ directory jar package
that contains the corresponding configuration package name under the class
registered as a constant function.
Such as,
{code:java}
<property>
<name>hive.aux.udf.package.name.list</name>
<value>com.sample.udf,com.test.udf</value>
</property>
{code}
Instructions:
1, upload your jar package to $ HIVE_HOME / auxlib
2, your jar package UDF function where the package name configuration in the
following configuration
{code:java}
<property>
<name>hive.aux.udf.package.name.list</name>
<value>com.sample.udf,com.test.udf</value>
</property>
{code}
3, the configuration items need to be placed in the hive-site.xml file
4, restart the Hive service to take effect
was:
Add a configuration item "hive.aux.udf.package.name.list", which is a scan
corresponding to the $HIVE_HOME/auxlib/ directory jar package that contains the
corresponding configuration package name under the class registered as a
constant function.
Such as,
{code:java}
<property>
<name>hive.aux.udf.package.name.list</name>
<value>com.sample.udf,com.test.udf</value>
</property>
{code}
> User-defined UDF functions can be registered as invariant functions
> -------------------------------------------------------------------
>
> Key: HIVE-16929
> URL: https://issues.apache.org/jira/browse/HIVE-16929
> Project: Hive
> Issue Type: New Feature
> Affects Versions: 3.0.0
> Reporter: ZhangBing Lin
> Assignee: ZhangBing Lin
> Attachments: HIVE-16929.1.patch
>
>
> Add a configuration item "hive.aux.udf.package.name.list" in hive-site.xml,
> which is a scan corresponding to the $HIVE_HOME/auxlib/ directory jar package
> that contains the corresponding configuration package name under the class
> registered as a constant function.
> Such as,
> {code:java}
> <property>
> <name>hive.aux.udf.package.name.list</name>
> <value>com.sample.udf,com.test.udf</value>
> </property>
> {code}
> Instructions:
> 1, upload your jar package to $ HIVE_HOME / auxlib
> 2, your jar package UDF function where the package name configuration in
> the following configuration
> {code:java}
> <property>
> <name>hive.aux.udf.package.name.list</name>
> <value>com.sample.udf,com.test.udf</value>
> </property>
> {code}
> 3, the configuration items need to be placed in the hive-site.xml file
> 4, restart the Hive service to take effect
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)