You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Vaibhav Jain <va...@gmail.com> on 2014/03/02 23:55:20 UTC

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