Error Limiting row using tPigMap

Four Stars

Error Limiting row using tPigMap

Hi all, I am using Talend to limit the rows using tPigMap but it doesnt seems to work, my code is row1.limitrow LIMIT 5 but it gives me error. Someone enlighten me please! 

Eight Stars

Re: Error Limiting row using tPigMap

Hello,

Can you please post here how does your job look like?

Regards
Lojdr
Four Stars

Re: Error Limiting row using tPigMap

it look something like this.

Eight Stars

Re: Error Limiting row using tPigMap

Hello,

expression filter expects true or false value. Not number of values. You need to sort it out out of the ma element. Can you please place here the complete job? Thanks.

Regards
Lojdr
Four Stars

Re: Error Limiting row using tPigMap

is there any component i can limit my result up to 10 rows?  using pig 

Eight Stars

Re: Error Limiting row using tPigMap

I don't know how does your job looks like, but I would limit it in Pig, not in Talend if is it possible.

Eight Stars

Re: Error Limiting row using tPigMap

Or do it like this:Capture.JPG