square/cube — Issue #26: sum(test(cpu).eq(name,'machine1')) doesn't work as I expected
Author: KidkArolis
Created: 2012-01-10 13:18:08+00:00
State: open

I POST the following event twice.

```
[{
"type": "test",
"time": "2012-01-10T12:50:40.984Z",
"data": {
"cpu": 89,
"name" :"machine1"
}
}]
```

This query displays 2 requests in the corresponding bucket.

```
sum(test.eq(name,'machine1'))
```

However

```
sum(test(cpu).eq(name,'machine1'))
```

displays 90 (in the same bucket), when I expected to see 180 (2 requests each having cpu value 90).

Note that

```
sum(test(cpu))
```

displays 180.

Am I doing something wrong?