Forum Discussion
bojanvelevski
5 years agoValued Contributor
Hi @vaidyarm ,
Sorting the data on the same field, before using Group By will fix your problem
- vaidyarm5 years agoContributor
Does Group BY Snap have any limit that how many documents it can keep under group? after we sorted the input data?
- bojanvelevski5 years agoValued Contributor
The Sort snap doesn’t dictate how many records will the Group snap keep in one group. As the name suggests the Sort snap, sorts the incoming documents.
Group by requires clean, ordered data to do it’s magic.