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

Switch to Plain View
Hive >> mail # user >> Calling forward from close method in a custom UDTF


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