Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
ravi999
Contributor III
Contributor III

Surrogate Key Generation in Talend Big Data Batch Spark Job

Hi All , We were unable to use the Numeric Sequence (in tmap) in Talend Big Data Batch Spark Job as the spark job is running with multiple executors and is creating duplicate keys. We don't want to use UUID as we want to have a integer value to surrogate key column . Could you please let us know how to generate unique surrogate key in Talend Big Data Batch Spark Job ?

 

 

Labels (2)
1 Reply
manodwhb
Creator III
Creator III

You can use tSqlrow and generate numeric sequence by writing similar way of oracle query form the input row.