Philip O'Toole
260dcf67f7
Decode correct byte slice
2015-03-02 17:30:03 -08:00
Philip O'Toole
bab0389293
Skip timestamp while checking conditions
2015-03-02 16:12:22 -08:00
Philip O'Toole
8196a49308
Condition is set, tests still fail
2015-03-02 15:15:58 -08:00
Philip O'Toole
05d630bfb8
Refactor shard group time bound checking
...
This allows it to be tested.
2015-02-27 14:03:13 -08:00
Philip O'Toole
db91f0caeb
Revert "Merge pull request #1774 from kylezh/time_range"
...
This reverts commit 98f062743b
, reversing
changes made to 0597cc34f5
.
2015-02-27 13:38:55 -08:00
Kai Zhang
dbe367054a
fix wrong time range calculation
...
The code which was used to check whether a shard group should be
queried was wrong.
The if-condition was:
timeBetweenInclusive(group.StartTime, tmin, tmax) || timeBetweenInclusive(group.EndTime, tmin, tmax)
It excludes group if tmin > group.StartTime && tmax < group.EndTime.
This patch fixes the bug.
Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-02-27 22:32:00 +08:00
Paul Dix
889f0a323f
Fix problem with merging series that have unequal number of points in group by interval
2015-02-27 01:02:34 -05:00
David Norton
c6bdd39f2e
fix #1741 : panic when select result is empty
2015-02-25 22:39:52 -05:00
Paul Dix
036859c191
Fix limit and offset, add more tests.
...
Also updated the Clone and Substatement methods to copy the offset.
2015-02-24 01:42:11 -05:00
Paul Dix
dffcac541d
Add support for limit and offset on the number of series returned
2015-02-24 01:16:06 -05:00
Paul Dix
a8a0b9f24e
Fix raw data query where some values are null
...
I also removed the engine test for the raw planner. It's getting tested elsewhere and it would have been too difficult to make it work. Besides, that's getting replaced soon anyway.
2015-02-24 00:36:07 -05:00
Paul Dix
b69597f376
Fix queries that return raw data without aggregates.
2015-02-24 00:36:07 -05:00
Philip O'Toole
ae81dff9f6
Use Field codec in debug code
2015-02-16 16:43:35 -08:00
Philip O'Toole
571fde8d3a
Use dedicated decoded in cursor
2015-02-16 16:39:11 -08:00
Paul Dix
4cd3494ddc
Update interface on iterator.Next() to pass raw data along with key and value
2015-02-14 17:12:38 -05:00
Paul Dix
4e68828c58
WIP: update signature of iterator in tx.go
2015-02-14 10:24:35 -05:00
Philip O'Toole
e9880a4d8b
Cursor now requires a Field decoder
2015-02-12 16:07:25 -08:00
Paul Dix
3c26a3e91b
Fix panic if a point doesn't have a value for a field.
...
Fixes #1530 . Ensures that the series iterator doesn't yield points that don't have a value for the field that is being aggregated.
2015-02-09 03:39:42 -05:00
Philip O'Toole
a0e02406f9
Ensure measurement exists when querying
2015-01-28 16:22:21 -08:00
Paul Dix
f2419caeb5
Wire up field expression evaluation
2015-01-27 20:27:19 -05:00
Paul Dix
c2ded241ea
WIP: wire up group bys and pretty much the whole shebang
2015-01-27 20:27:19 -05:00
Ben Johnson
385687b8b4
Add multishard iteration.
2015-01-27 20:26:32 -05:00
Ben Johnson
1eda0ffcb9
Refactoring query engine.
2015-01-27 20:26:31 -05:00