Re: declaring a List in HiveQL for UDF

2014-04-10 Thread Szehon Ho
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 oper

declaring a List in HiveQL for UDF

2014-04-10 Thread Ng, Raymond
Hi all I'm trying to find out if its possible to pass in a List in a SELECT statement to be used by the "evaluate" method of a UDF using ListObjectInspector on DeferredObject array? I've followed some instructions to build a function which extends GenericUDF (code snippet on "evaluate" method