Hive, mail # user - Calling forward from close method in a custom UDTF - 2014-03-02, 22:55
Solr & Elasticsearch trainings in New York & San Fransisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Plain View
Copy link to this message
-
Calling forward from close method in a custom UDTF
Hi,

Is it ok to call forward from the close() method in a custom UDTF? I have a
custom UDTF that does that
and it works fine with Hive 9.  The UDTF needs to emit a few rows after
processing all the input rows. So it collects the rows in the process()
method and processes them in the close() method and outputs a few rows. Can
it cause problems in the later versions of Hive?
Thanks
Vaibhav Jain

 
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