Question:
I have multiple data that looks like the following
ID LastUpdatedDate Value1
1 10/21/2015 a
1 10/22/2015 b
1 10/22/2015 c
2 10/23/2015 d
2 10/22/2015 e
3 10/22/2015 f
3 10/24/2015 g
3 10/22/2015 h
3 10/21/2015 i
I basically want to do a partition by ID and pick the last item item in the partition ordered by LastUpdatedDate, so the data will look like the following:
ID LastUpdatedDate Value1
1 10/22/2015 b (or c)
2 10/23/2015 d
3 10/24/2015 g
I'll start reading up on the different things I can do with a GroupBy, but if someone's solved this with native Cascading operations, please give me a holler...
Thanks,
Ron