Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # user - declaring a List in HiveQL for UDF


Copy link to this message
-
Re: declaring a List in HiveQL for UDF
Szehon Ho 2014-04-10, 17:51
I might be wrong, but it seems like it wont be useful, as there is no
'list' Hive data type.  Valid complex types are listed here:
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Types#LanguageManualTypes-ComplexTypes

As for complex literals, say if you want to test a udf that operate on an
array, you can make one using array UDF (ie, array('a', 'b', 'c').

Hope that helps
Szehon
On Thu, Apr 10, 2014 at 4:06 AM, Ng, Raymond <[EMAIL PROTECTED]>wrote: