I need to sort the DataBags that are input to my UDF after a COGROUP.
I am currently sorting them in memory but it is not going to scale in
the long term.
Is there a way to control the way that Pig sorts them (e.g. as you can
with a WritableComparable in raw map/reduce) prior to passing them in
so that I don't have to respill them to disk?
Thanks for any info,