Re: Create function using custom UDF

2015-04-24 Thread Buntu Dev
me.]function_name AS class_name > > [USING JAR|FILE|ARCHIVE 'file_uri' [, JAR|FILE|ARCHIVE 'file_uri'] ]; > > > > > > *发件人:* Buntu Dev [mailto:buntu...@gmail.com] > *发送时间:* 2015年4月24日 12:20 > *收件人:* user@hive.apache.org > *主题:* Re: Create function usin

re: Create function using custom UDF

2015-04-23 Thread Loudongfeng
[USING JAR|FILE|ARCHIVE 'file_uri' [, JAR|FILE|ARCHIVE 'file_uri'] ]; 发件人: Buntu Dev [mailto:buntu...@gmail.com] 发送时间: 2015年4月24日 12:20 收件人: user@hive.apache.org 主题: Re: Create function using custom UDF Thanks again for the info! On Thu, Apr 23, 2015 at 8:30 PM, sadha

Re: Create function using custom UDF

2015-04-23 Thread Buntu Dev
Thanks again for the info! On Thu, Apr 23, 2015 at 8:30 PM, sadhana yr wrote: > For global configuration add the statements to $HIVE_HOME/bin/.hiverc. > > One other alternative, > > Add following property to your hive-site.xml > > > hive.aux.jars.path > > file:///home/me/my.jar,file:///home/you

Re: Create function using custom UDF

2015-04-23 Thread sadhana yr
For global configuration add the statements to $HIVE_HOME/bin/.hiverc. One other alternative, Add following property to your hive-site.xml hive.aux.jars.path file:///home/me/my.jar,file:///home/you/your.jar,file:///home/us/our.jar On Thu, Apr 23, 2015 at 11:13 PM, Buntu Dev wrote: > Than

Re: Create function using custom UDF

2015-04-23 Thread Buntu Dev
Thanks but is there a way to make it available to other users and avoid 'add jar ' step? On Thu, Apr 23, 2015 at 7:50 PM, Sadhana wrote: > Yes, functions declared will only be available in the current session. You > will have to add the JAR to the class path and create the function in each > ses

Re: Create function using custom UDF

2015-04-23 Thread Sadhana
Yes, functions declared will only be available in the current session. You will have to add the JAR to the class path and create the function in each session. If you use the same Jar files and functions frequently, you can add those statements to your $HOME/.hiverc file. > On Apr 23, 2015, at