UDF with SELECT statement argument

2011-05-06 Thread Jonathan Bender
Hey all, I have a quick question about using a select statement as an input to a user defined function. I have a table TABLE, with columns (segment_ID STRING, user_IDs map) I have a UDF myfunction (map A). If i did tried to do this statement: myfunction(SELECT user_IDs from TABLE WHERE segment_

Re: HiveQL scripts and input arguments

2011-05-04 Thread Jonathan Bender
Thanks everybody. More reader friendly version of that SVN doc: http://archive.cloudera.com/cdh/3/hive/language_manual/var_substitution.html On Wed, May 4, 2011 at 3:15 PM, Time Less wrote: > > Just wondering if there is native support for input arguments on Hive >> scripts. >> eg. $ bin/hive

HiveQL scripts and input arguments

2011-05-04 Thread Jonathan Bender
Hey all, Just wondering if there is native support for input arguments on Hive scripts. eg. $ bin/hive -f script.q Any documentation I could reference to look into this further? Cheers, Jon