accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: Aggregating iterators
Date Thu, 28 Jun 2012 11:40:23 GMT
Looks like a typo in the documentation. The 5th insert command should be 
for "row2" instead of "row3" to generate the provided output.

Thanks for catching that!

- Josh

On 6/28/12 2:21 AM, Priya M wrote:
> http://accumulo.apache.org/user_manual_1.3-incubating/Table_Configuration.html#Aggregating_Iterators

>
>
> Is the aggregate value for row2 counted incorrectly, since the rowKey 
> for the last two rows seem to be different.
> user@myinstance  perDayCounts>  insert  row1  day  20080101  1
> user@myinstance  perDayCounts>  insert  row1  day  20080101  1
> user@myinstance  perDayCounts>  insert  row1  day  20080103  1
> user@myinstance  perDayCounts>  insert  row2  day  20080101  1
> user@myinstance  perDayCounts>  insert  row3  day  20080101  1
>
> user@myinstance  perDayCounts>  scan
> row1  day:20080101  []  2
> row1  day:20080103  []  1
> row2  day:20080101  []  2



Mime
View raw message