Forum Discussion

kmiesse's avatar
kmiesse
Contributor
6 years ago

Compare current to previous document in stream

If I want to compare two consecutive documents in an ordered stream (compare the current to the previous or next), is the best way to do that with array indexing functions in mappers/conditionals?