I am using Amazon EMR and Hive 0.11. I am trying to create a Hive UDF that will return multiple columns from one UDF call.
For example, I would like to call a UDF like the one below and be returned several (named) columns.
SELECT get_data(columnname) FROM table;
I am having trouble finding documentation of this being done, but have heard it is possible if using a Generic UDF. Does anyone know what needs to be returned from the evaluate() method for this to work?