Commit Graph

10243 Commits (10db0aafeb8b21459a537d455afe48f8b19e22c4)

Author SHA1 Message Date
Todd Persen e807158861 Add support for mean() 2013-10-15 20:04:53 -04:00
Todd Persen 77323deef7 More test cleanup. 2013-10-15 19:34:01 -04:00
Todd Persen ac348ea6b8 Add better test coverage around arguments for percentile() 2013-10-15 19:25:26 -04:00
John Shahid f4a457925f fix the other broken tests and add support for 'w' suffix in time durations. 2013-10-15 17:19:57 -04:00
Todd Persen 114583eca0 Test percentiles across multiple time groups. 2013-10-15 17:07:08 -04:00
John Shahid 3f19768698 fix some broken tests. 2013-10-15 17:03:32 -04:00
John Shahid 5197fdffbe add another test. 2013-10-15 17:03:32 -04:00
Todd Persen ffd680ff82 PercentileAggregator handles native data types and correctly sorts incoming data. 2013-10-15 16:53:09 -04:00
John Shahid 75097ec97d pvt #58888232. Add api to get the query start and end time. 2013-10-15 16:46:10 -04:00
John Shahid 51bef6e1dc pvt #58905598. add create database command to the raft server. 2013-10-15 16:45:51 -04:00
John Shahid 99d282ec00 build levigo and the other dependencies after building leveldb and snappy. 2013-10-15 16:45:51 -04:00
John Shahid 8a3bc5793a run sed on linux only. 2013-10-15 16:45:51 -04:00
John Shahid 9eeba4a554 convert C arrays to go slices. 2013-10-15 16:45:51 -04:00
Todd Persen a8d922680c Basic percentile calculations work. 2013-10-15 15:31:23 -04:00
Ben Johnson 90f816546e Server interface fix. 2013-10-14 13:40:20 -06:00
Ben Johnson fc58d10f92 Server interface fix. 2013-10-14 13:33:01 -06:00
Todd Persen 9e7ca7dcde Start collapsing the test suite JSON so my eyes feel less compelled to bleed spontaneously. 2013-10-14 14:44:39 -04:00
Todd Persen 3f9b109470 Basic percentile aggregator tests. 2013-10-14 14:20:24 -04:00
Todd Persen bac95f1dee John, this thing is breaking on my machine. 2013-10-14 14:20:09 -04:00
Xiang Li 9765b9cdeb Merge pull request #122 from goraft/interfaces
Server Interface
2013-10-14 11:09:37 -07:00
Ben Johnson 8f6f82fb2c Server interface. 2013-10-14 11:54:49 -06:00
Todd Persen 9ada359170 Fix typo. 2013-10-14 11:15:06 -04:00
John Shahid e0afceda36 fix #7. support multiple aggregators in the same query. 2013-10-11 16:57:13 -04:00
John Shahid 9fffe2296b increase the timeouts. 2013-10-11 16:54:43 -04:00
John Shahid e8a05d99a2 make max and min aggregators. 2013-10-11 16:33:31 -04:00
John Shahid 4e6ce97627 Refactor the aggregation to use the more generic aggregator interface. 2013-10-11 15:50:04 -04:00
John Shahid 647bb4710a add int64 to the field value protobuf struct. 2013-10-11 15:50:04 -04:00
John Shahid b7202539b6 get rid of executeCountQuery and assume that points belong to the same group if there was no group by clause. 2013-10-11 15:50:04 -04:00
Todd Persen 117a78d57a Add support for Max queries. 2013-10-11 15:16:25 -04:00
Todd Persen 8212180d50 Changes to match other tests. 2013-10-11 14:31:33 -04:00
Todd Persen 8686760860 Implements min queries. 2013-10-11 14:26:40 -04:00
John Shahid 9416b22ff5 fix #1. Queries support an order clause and limit clause. 2013-10-11 13:46:00 -04:00
Paul Dix 647d09cbd6 Add basic non-distributed version of coordinator implementation to hook into datastore 2013-10-11 13:32:09 -04:00
John Shahid a6d995dcd4 support group by time and column. 2013-10-11 13:27:22 -04:00
John Shahid 4de1972ee2 don't die on bug in the run query, instead report the stacktrace of the bug on std error. 2013-10-11 13:27:22 -04:00
Paul Dix 01dde9c9ef Fix cleanup of leader election test 2013-10-11 12:07:53 -04:00
Paul Dix 2505efbf31 Refactor tests to use constants. Refactor new leader election test to use server setup method 2013-10-11 11:52:13 -04:00
John Shahid bdc1976c2a Add some error checking to the engine. 2013-10-11 11:34:08 -04:00
Paul Dix c962a81a5f Update check to test writing values during compaction 2013-10-11 11:06:48 -04:00
Paul Dix 58113342eb Add hack to test to make it work on osx + spotify. 2013-10-11 11:06:48 -04:00
John Shahid 5fe7fa225f statically link leveldb if the build script ran on linux. 2013-10-11 10:55:35 -04:00
Paul Dix 5b4bc4674c Add program to test out writing and deleting data in leveldb 2013-10-10 22:46:40 -04:00
John Shahid ed02783c36 don't explode if we can't format the code. 2013-10-10 18:08:23 -04:00
Paul Dix b65ff1b4f6 Add command to increment the next database id. 2013-10-10 17:38:13 -04:00
Xiang Li e138889d67 Merge pull request #121 from dgryski/go-vet-fixes
Go vet fixes
2013-10-10 14:01:02 -07:00
Damian Gryski 8f4775815d snapshot_recovery_request: fix cut-and-paste error 2013-10-10 22:56:28 +02:00
Damian Gryski 67329dc5c4 snapshot: fix struct tags so they work with reflect.StructTag.Get 2013-10-10 22:56:06 +02:00
Damian Gryski a1614ed519 server_test: t.Fatalf() with missing formatting directive 2013-10-10 22:54:22 +02:00
Todd Persen ed27df12b3 Grouping by timestamps. 2013-10-10 16:53:12 -04:00
Todd Persen 6f797337e7 Add support for grouping by multiple columns. 2013-10-10 15:42:43 -04:00