[resolved] reset number sequence tRowGenerator after it reaches a value

One Star

[resolved] reset number sequence tRowGenerator after it reaches a value

I would like to generate test data using tRowGenerator, having three fields with output similar to the following .

1  1  1
1  1  2
1  2  1
1  2  2
2  1  1
2  1  2
2  2  1
2  2  2

For this to work I need to reset the sequence when it reaches the maximum value.
Any suggestions?
One Star

Re: [resolved] reset number sequence tRowGenerator after it reaches a value

Which sequence you want to reset any extra column have you included in output for sequence?
if you are using talend sequence then try this for resetting -
Numeric.resetSequence("s1",0)

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

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog