Forum Discussion

harshareddy's avatar
harshareddy
New Contributor II
4 years ago
Solved

Batch Number From Group By N

Hi, I am building a pipeline where i am using Group by N. I would like to know if there is a way to get the batch number of each document. For example lets say i have 100 records in source and my...
  • bojanvelevski's avatar
    4 years ago

    Hey @harshareddy,

    You can achieve this by using a mapper after the group by, and adding the snap.in.totalCount function. Of course don’t forget to map the group, or check the Pass through option.

    Bojan