Commit Graph

12856 Commits (e1ec33104886452a46b26e18ca4bd1764f7e8e31)

Author SHA1 Message Date
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
Paul Dix 734e792e11 Add test to make sure it persists data 2013-10-16 15:20:31 -04:00
Paul Dix e6ff2940e3 initial parts of datastore to write data and execute a basic query 2013-10-16 14:35:58 -04:00
John Shahid d1747f17f4 return a map from table names to the column names that are used in the query. 2013-10-16 14:29:20 -04:00
John Shahid 0da4a23776 add tests for float value types. 2013-10-16 14:29:20 -04:00
Todd Persen 37c39d5fef implement mode() for unimodal datasets 2013-10-16 13:35:04 -04:00
John Shahid 19a0e52044 fix the regex in the test query. 2013-10-16 13:14:41 -04:00
John Shahid 8e997556fd retain the type of the values, i.e. whether they are regex, names, function calls, etc. 2013-10-16 13:13:29 -04:00
John Shahid 5b923875cd make valgrind memory leak check optional. 2013-10-16 13:13:29 -04:00
John Shahid a87de5e548 minor renaming. 2013-10-16 13:13:28 -04:00
Todd Persen f2675d4019 Implement median().
Finishes #58935134
2013-10-16 09:48:21 -04:00
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