I found the problem. I used some private variables in my class. I was thinking that in every tuple I'm getting, pig will create a new object of my class. But this not the case of course.
Sorry for the inconvenience
On 28 Φεβ 2014, at 2:07 π.μ., Anastasis Andronidis <[EMAIL PROTECTED]> wrote: