Hi Val, Got it. Actually what I want to achieve is all records with same Employee and Department to be available in the same node. Is there a way to set custom partitioner. And by doing this, would the queries (group by) when executed have little data movement between the nodes.
Regards, Moiz On Sat, Jan 30, 2016 at 2:19 AM, vkulichenko <[email protected]> wrote: > Hi Moiz, > > It looks like your data is already flattened in a single 'Model' type, so > there is nothing to collocate. > > Affinity collocation is required if you have two different types (e.g., > Employee and Department) and you join them in SQL queries. > > Let me know if I'm missing something. > > -Val > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/AffinityKey-for-co-location-tp2772p2777.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com.
