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

Switch to Threaded View
Hive, mail # user - Get arguments' names in Hive's UDF

Copy link to this message
Get arguments' names in Hive's UDF
Felix.徐 2013-07-22, 03:29
Hi all,

Is there any api to retrieve the parameter's column name in GenericUDF?
For example:

Select UDFTEST(columnA,columnB) from test;

I want to get the column names("columnA" and "columnB") in
UDFTEST's initialize function via ObjectInspector but I did not find any
viable solution.