If you define a UDF like this:

DEFINE foo my.Udf('param1', 'param2');
data = foreach other_data generate foo(field);

and my.Udf is an algebraic function, the Initial, Intermediate, and Final
classes do not get initialized with the arguments passed into my.Udf in the
DEFINE.

Am I missing something?

(seems like Accumulator implementations and argToFuncMapping can cause the
same kind of error, but I haven't checked.)

-Dmitriy

Reply via email to