You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Yongcheng Li <Yo...@sas.com> on 2013/12/07 05:29:08 UTC

Question about invocation of the terminate method in UDAF

Hi,

Just want to confirm my understanding of how terminate method works in UDAF. [1] The terminate method of a UDAF is only invoked once (never twice) for the group of data that need to be aggregated. [2] When terminate method is invoked, all the data of the group that need to be aggregated have been merged together for the method to process. Am I right?

Thanks!

Yongcheng