hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhangBing Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16929) User-defined UDF functions can be registered as invariant functions
Date Thu, 29 Jun 2017 06:37:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16067840#comment-16067840
] 

ZhangBing Lin commented on HIVE-16929:
--------------------------------------

Resubmit a new patch,Patch add the following:
1.add two unit tests for ClassUtil and UDFResister
2.Adjust the custom function registration function to the end of the registration, to prevent
the same name function to register when the system function can not be covered by abnormal
3.Fix the contents of the log

> 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, HIVE-16929.2.patch, HIVE-16929.3.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 file to $ HIVE_HOME/auxlib
>    2, configure your UDF function corresponding to the package to the following configuration
parameters
>     {code:java}
>    <property>
>         <name>hive.aux.udf.package.name.list</name>
>         <value>com.sample.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)

Mime
View raw message