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

Switch to Plain View
Pig, mail # user - A UDF that is both Algebraic and Accumulator

Copy link to this message
A UDF that is both Algebraic and Accumulator
Ahmed Eldawy 2013-06-04, 18:31
In the Apache Pig documentation, it is mentioned that we can define a UDF
as both Algebraic and Accumulator
If I do such a thing, how Pig decides which interface of them to use. I
assume they are completely separate and they cannot be mixed with each
other. Is there a way to enforce Pig to prefer one of them over the other?

Best regards,
Ahmed Eldawy
Mehmet Tepedelenlioglu 2013-06-04, 18:46
Ahmed Eldawy 2013-06-04, 18:59
Jonathan Coveney 2013-06-04, 20:24