Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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:
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB