Date: 2025-02-17 12:20:33
Score: 1.5
Natty:
- Sort your stream by your key;
- duplicate the stream (with copy, not round-robin);
- unique rows by your key in one of the duplicated stream;
- add an incrementing sequence in that stream;
- join the to streams back, using Merge Join;
- remove duplicate fields after join.
Reasons:
- Low length (0.5):
- No code block (0.5):
- Low reputation (0.5):
Posted by: Giulio Quaresima