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

 

 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Talend Cloud Developer Series – Updating Context Variables

This video will show you how to add context parameters to a job in Talend Cloud

Watch Now

Talend Cloud Developer Series – Deploying First Job to Cloud

This video will show you how to run a job in Studio and then publish that job to Talend Cloud

Watch Now

Talend Cloud Developer Series – Fetching Studio License

This video will help someone new to using Talend Studio get started by connecting to Talend Cloud and fetching the Studio License

Watch Now