Re: Accumulo Equivalent of Mongo Aggr Query

2016-09-26 Thread Josh Elser
I think I can understand what your query is doing, but, I'm just guessing too. What does your data in Accumulo look like? The only way I'm seeing that you would be able to implement this fully in Accumulo would be if your student_id is the leading component in the Accumulo rowId. The student_

Re: Accumulo Equivalent of Mongo Aggr Query

2016-09-26 Thread Yamini Joshi
Hi Dylan This is what I'm trying to do: #groupby id and create 2 new columns: np2 and shared query = {'$group': {'_id': '$student_id', 'np2': {'$first': '$count'}, 'shared': {'$sum': 1}}} The statement written above is one of the stages in a mongo aggregate query. The results of allthe stages ar