Create batch of 200 using tfixed flow

One Star

Create batch of 200 using tfixed flow

Hi All,
I am reading data from CSV. I need to process data in the batch of 200. I am using component tflowtoiterate and tfixedflowinput. I am giving number of rows 200 to process. But component is repeating same row 200 times. Attached is the screen shot. Please let me know if I am doing something wrong.
tfileinputdelimited-->tflowtoiterate-->tfixedflowinput
Moderator

Re: Create batch of 200 using tfixed flow

Hi,

Could you please elaborate your case with an example with input and expected output values?


Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Create batch of 200 using tfixed flow

Put Number of Rows in tFixedflowInput as 1 not as 200 and check your result.
One Star

Re: Create batch of 200 using tfixed flow

Hi Guys. 
I need to break the data in the batch of 200 I am reading it from csv file and I need to pass this data to the restclient. File has 3 columns id,lat,log. I need to pass 200 values to the trestclient at 1 time. @Manish if i put 1 how it will break in 200 batch. Is there any other way to do that ?
Thanks
Maya
One Star

Re: Create batch of 200 using tfixed flow

Sabrina,
My use case is very similar to this http://www.talendforge.org/forum/viewtopic.php?id=27304 post . All I need to know How can I read the data in a batch from a csv 
Thanks
Maya

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.