John Shahid
d8cdb8b08c
add a test for writing data with timestamp and fix the implementation.
2013-10-18 17:52:30 -04:00
John Shahid
f402d026c0
Revert "Update datastore to not use time objects and only use int64"
...
This reverts commit 2bfbe99018
.
Conflicts:
src/datastore/leveldb_datastore.go
2013-10-18 17:23:26 -04:00
John Shahid
41a2c8a8f3
timestamp madness. Fix the aggregators and the datastore to use microseconds.
2013-10-18 17:20:13 -04:00
Paul Dix
f530dba9ef
Make the api write header first for bad request.
2013-10-18 16:50:05 -04:00
Paul Dix
7f90b11e56
Removed the channels in the datastore test for waiting for the series to get yielded. This is all synchronous, duh...
2013-10-18 16:26:38 -04:00
Paul Dix
2b2fa8b92c
Make datastore return time series results in batches no bigger than oen megabyte (so network stuff don't go crazy, yo).
2013-10-18 16:19:56 -04:00
Paul Dix
d567dac6c9
Make datastore respect the end time for queries
2013-10-18 15:49:40 -04:00
Paul Dix
47d27cc505
Update the coordinator to set sequence number and time
2013-10-18 14:53:47 -04:00
Paul Dix
2bfbe99018
Update datastore to not use time objects and only use int64
2013-10-18 13:58:18 -04:00
John Shahid
6c30299e36
combine median and percentile.
2013-10-18 13:30:55 -04:00
John Shahid
cac571d4fb
pvt #59136004 . get rid of ints and use int64 instead.
2013-10-18 13:20:59 -04:00
John Shahid
e4b60654a7
fix the escape sequence.
2013-10-18 13:19:13 -04:00
John Shahid
a1444b57b4
fix a broken test.
2013-10-18 13:19:13 -04:00
John Shahid
f5f0bef09e
use more descriptive name.
2013-10-18 13:19:13 -04:00
Todd Persen
48e864b64e
executeFunctionQuery… isn't used anymore, so tossing it.
2013-10-18 13:08:10 -04:00
Todd Persen
d22654bf8d
Add support for distinct()
2013-10-18 12:56:42 -04:00
Paul Dix
930ecf9448
Datastore can delete ranges of series matching a regex
2013-10-18 12:02:07 -04:00
Paul Dix
605866e18a
Update data store so select from a regex works
2013-10-18 11:26:44 -04:00
John Shahid
9adf374d1d
pvt #59002514 . default start and end time set properly.
...
Start time defaults to 1 hour before end time if it wasn't specified
in the query. End time defaults to the current time. If neither start
or end time are given, the query defaults to all points between an
hour ago and current time.
2013-10-18 11:09:35 -04:00
Paul Dix
c161c494aa
Make the compacts run sychronously instead of in a goroutine. Might be causing panics in the test suite
2013-10-17 20:27:49 -04:00
Todd Persen
27b62caa29
Update aggregators to support returning of multi-value results.
2013-10-17 19:21:54 -04:00
John Shahid
9254aa8b54
implement the write api.
2013-10-17 18:10:52 -04:00
Paul Dix
77819383f4
Datastore will delete and compact all the column data for a given series and time range
2013-10-17 18:02:44 -04:00
John Shahid
24502f9cbe
add a test to make sure regex matching works.
2013-10-17 17:16:41 -04:00
Todd Persen
4bd569f576
Implement sum().
2013-10-17 16:59:45 -04:00
John Shahid
9df7ab5ef0
fix a compilation error.
2013-10-17 16:52:07 -04:00
John Shahid
488103a4cd
pvt #59075198 . GetReferencedColumns returns a map from Value to column names where value can be a regex or a table name.
2013-10-17 16:46:58 -04:00
John Shahid
e006e37b04
parse regex and make sure we return an error if the regex is invalid.
2013-10-17 16:46:58 -04:00
John Shahid
f107b664f9
add support for chunked queries.
2013-10-17 16:46:58 -04:00
Paul Dix
00a11618b5
Change default query order to descending. Make datastore respect query order
2013-10-17 16:17:46 -04:00
Paul Dix
cb030ab77d
Make datastore respect limit on query
2013-10-17 15:35:48 -04:00
Paul Dix
a456426e29
Make queries for count(*) work in datastore
2013-10-17 15:10:59 -04:00
Paul Dix
b69bb63c50
Update datastore to work for select * queries
2013-10-17 14:25:25 -04:00
John Shahid
400611df54
fix the broken tests.
2013-10-17 13:54:43 -04:00
John Shahid
ea41a98727
draft implementation of the http query api.
2013-10-17 13:22:51 -04:00
John Shahid
ab00b6155e
change the engine's interface to run a query string.
2013-10-17 13:22:51 -04:00
John Shahid
9ca1975b2c
add more dependencies.
2013-10-17 13:22:51 -04:00
John Shahid
842b17b3c4
update the docs.
2013-10-17 13:22:50 -04:00
Paul Dix
9842f11656
Add test for selecting aggregate with group by returns only the group by column
2013-10-17 13:21:57 -04:00
Paul Dix
10f82d9042
Add failing spec for expected bahavior from the query api for Shahid to implement.
2013-10-17 13:13:31 -04:00
Paul Dix
ce0720260f
Update Query api to have mostly private methods and only expose the actual public interface publicly
2013-10-17 12:29:14 -04:00
John Shahid
766235426c
add an explicit test for filtering when there's time in the where condition.
2013-10-16 17:44:13 -04:00
John Shahid
76eb8d64d7
remove time conditions after parsing the query and storing start and end time.
2013-10-16 17:40:39 -04:00
Paul Dix
69e95c7d08
Make db filter results. Shahid breaks the build...
2013-10-16 17:32:54 -04:00
John Shahid
8745da43e3
move the Filter method to the datastore.
2013-10-16 17:27:06 -04:00
John Shahid
b47a658555
fix the test and the operator mapping.
2013-10-16 17:07:44 -04:00
Paul Dix
52748948e0
Add test to ensure querying by time works
2013-10-16 16:31:32 -04:00
John Shahid
938029e3c5
pvt #59002188 . add points filtering to the engine package.
2013-10-16 16:29:28 -04:00
John Shahid
af21903e19
test switching the position of time in the where condition.
2013-10-16 16:29:28 -04:00
Paul Dix
f6b1d20df0
Added tests to make sure multiple databases and time series work correctly
2013-10-16 16:07:35 -04:00