Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have a simple job in Talend which uses a tMysqlInput to tFileOutputDelimited and it works perfectly.
However the end user has asked for an enhancement so that the report automatically generates the row number for each line on the report. As I am using MySQL i cannot just use ROWNUM() and when i have tried to set a variable (such as @ROW_NUMBER), Talend doesn't like it.
Does anyone have any experience or suggestions on how I can work this out?
I thought maybe a variable in a tMap component - but I have no java skills so wouldn't know how to begin writing such a thing.
Hope you can help!
https://faihofu.blogspot.com/2019/10/talend-rownumber-functionality-using.html
is this blog post any use?
it uses tMap to mimic the tsql row_number() over (partition by....) windows function