[ https://issues.apache.org/jira/browse/HIVE-16929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16058609#comment-16058609 ]
ZhangBing Lin commented on HIVE-16929: -------------------------------------- Hello,[~Ferd],can you take a look? > 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 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)