Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Dave Beech <d...@paraliatech.com> |
Subject | PGroupedTable.combineValues question |
Date | Fri, 05 Apr 2013 15:05:57 GMT |
Hi all, I have a PGroupedTable<A,B> and I want to aggregate / combine the values to produce a PCollection<C> - in other words, I need the type of the aggregate to be different to the original value type. What's the best approach? The combineValues method takes either an Aggregator or a CombineFn but as far as I can see, both of these assume the end result will be of the same type as the values. Have I missed something? Cheers, Dave | |
Mime |
|
View raw message |