Commit Graph

313 Commits (65338c9553ebcf35d003f8e29ba01a045870fdaa)

Author SHA1 Message Date
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
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
Todd Persen 0e32cca556 Add flag for running benchmarks. 2013-10-10 15:42:31 -04:00
John Shahid 1da5ce70a2 add a group by test for grouping by multiple columns. 2013-10-10 13:31:06 -04:00
Todd Persen 0b7f080cd8 Start some docs. 2013-10-10 13:28:49 -04:00
Todd Persen 0c4ea6ce92 Add support for group by clauses. 2013-10-10 13:28:49 -04:00
Paul Dix 4a299ce5d7 Add logic to allow server to be pointed at any server in the cluster and find the leader in order to joiN 2013-10-10 11:32:21 -04:00
Paul Dix 5679b338eb Add tests for killing leader in the cluster and adding a new server in the cluster 2013-10-10 10:54:53 -04:00
Paul Dix db4d8a2a00 remove extraneous output 2013-10-10 10:54:53 -04:00
Paul Dix fda550e04f Update test script to increase the open file limit on osx 2013-10-10 10:54:53 -04:00
John Shahid 8ef13d3c6f add a test for count with group by. 2013-10-09 17:04:17 -04:00
John Shahid 5a12f63c31 replace group_by with 'group by' 2013-10-09 17:02:42 -04:00
John Shahid 89d5e94869 test counts of multiple tables. 2013-10-09 16:20:04 -04:00
John Shahid 752019aec5 make the assertion stronger. 2013-10-09 16:05:32 -04:00
John Shahid 9c459db93c clarify the docs. 2013-10-09 16:05:19 -04:00
John Shahid ffda730b03 print the diff between the actual result and the expected result. 2013-10-09 16:05:08 -04:00
John Shahid 7eb5c02301 make the test pass and refactor the tests. 2013-10-09 15:57:34 -04:00
Todd Persen bf8a7c0ac5 WIP: more engine tests. 2013-10-09 14:55:00 -04:00
Paul Dix 279a67b563 Remove some cruft around storing the connect string of the leader 2013-10-09 13:36:10 -04:00
Todd Persen d8a25cf5ca Fix the test script for macs 2013-10-09 13:28:35 -04:00
Paul Dix e566a4d39c Add test and code to verify that servers can be added and removed 2013-10-09 13:26:38 -04:00
John Shahid 50227fe4a0 add the query engine interface. 2013-10-09 13:16:20 -04:00
John Shahid 8b65f7e728 update the coordinator docs. 2013-10-09 13:16:10 -04:00
John Shahid 3118312a21 start writing tests for the query engine. 2013-10-09 12:09:16 -04:00
John Shahid 5de35550e6 able to run tests in one package only. 2013-10-09 12:08:30 -04:00
John Shahid 0a88a01771 Rename the query package to parser. 2013-10-09 11:33:54 -04:00
Paul Dix 41cf035abf Add replication notes 2013-10-09 11:21:57 -04:00
Todd Persen bfb9852d80 DRY 2013-10-09 09:12:21 -04:00