I have a csv file which contains a column called tokenID. The tokenID column is shown in the pic1. And I want to transform it to what it is in pic2. All the consecutive integers would be assigned the value which is the last integer in the set of consecutive integers. Does anyone know how to do the transformation in Talend or in Java code. Thanks a lot.
Solved! Go to Solution.