Commit Graph

356 Commits (320898618dfa8a0734a4c89a8f3f62f89fd0deab)

Author SHA1 Message Date
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
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
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
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