Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to generate a sequence number in Talend using Tmap

Hello,

 

I am new to Talend.

 

I want to know the process to generate sequence number. Can anyone help me plz.

 

Regards,

Deepak

Labels (2)
6 Replies
TRF
Champion II
Champion II

Hi,
For example, on the output side of a tMap add the desired field with the expression:
Numeric.sequence("name", 0, 1)
to create a sequence called "name" starting with 0 incremented by 1.
Anonymous
Not applicable
Author

Thanks for the reply.

 

I followed the below steps.

 

1. Created a new field called SEQ in the output side.

2. Added the expression as Numeric.Sequence("S1",1,1)

 

In tMap it is giving the error. Will that be issue with datatype? 

Currently I have created a new field SEQ as String type. 

 

0683p000009Ls5c.png

 

Regards,
Deepak

Anonymous
Not applicable
Author

And also I have created a field called SEQ in MySQL database as well. 

TRF
Champion II
Champion II

Must be Integer of course
Anonymous
Not applicable
Author

Thanks it worked 0683p000009MACn.png

Sgupta1623918845
Contributor
Contributor

If your program will be done then let me know because my side there is lot of issues occur