hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Ryaboy <dvrya...@gmail.com>
Subject passing initialization parameters to algebraic functions
Date Thu, 08 Apr 2010 21:03:50 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message