Commit Graph

141 Commits (eca4af551464ebfcccba1faa97446f1f8cce34c7)

Author SHA1 Message Date
Paul Dix eca4af5514 Wire ip limits, fix server_test, remove warns 2015-03-07 16:30:42 -08:00
Paul Dix 0b98d6e1d2 WIP: wired up math processing on queries 2015-03-07 15:29:57 -08:00
Paul Dix 93f3a229c6 Fix merge conflicts 2015-03-06 16:30:26 -08:00
Paul Dix df3c0099e1 WIP: wire up raw queries 2015-03-06 11:23:58 -08:00
Todd Persen 93b56ca058 Make sure queries for missing measurements return a `200 OK` even when using a `GROUP BY *`. 2015-03-05 17:27:46 -08:00
Paul Dix 74e6f1f4db WIP: query language refactoring compiles. mores soon 2015-03-01 22:37:09 -08:00
Philip O'Toole a7c0d71d9c Merge pull request #1770 from kylezh/dev
Fix error when alter retention policy
2015-02-27 20:55:14 -08:00
Paul Dix a26f11f489 fixes based on @dgnorton's feedback 2015-02-27 01:09:38 -05:00
Paul Dix 52f257e349 Make show series return IDs and work with limit and offset.
Fixes #1765
2015-02-27 01:09:38 -05:00
Paul Dix 889f0a323f Fix problem with merging series that have unequal number of points in group by interval 2015-02-27 01:02:34 -05:00
Kai Zhang 9f8639ded8 Fix error when alter retention policy
+ fix error when execute ALTER RETENTION POLICY bar ON foo DURATION 1h
+ add test to verify the fix

Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-02-27 09:54:39 +08:00
Cory LaNou 2a9306fde9 clarify test condition 2015-02-26 17:10:09 -07:00
Cory LaNou c662c628d3 add test that covers series not existing in all buckets for drop series 2015-02-26 17:10:09 -07:00
dgnorton 37aecf94b5 Merge pull request #1751 from influxdb/fix-1741
fix #1741: panic when select result is empty
2015-02-26 18:26:06 -05:00
David Norton c6bdd39f2e fix #1741: panic when select result is empty 2015-02-25 22:39:52 -05:00
Cory LaNou 66c5750726 return early if no measurement. clarify comments 2015-02-25 12:56:23 -07:00
Cory LaNou 220ea564e7 adding test for drop measurement that walks through multiple measurements/tags 2015-02-25 12:42:24 -07:00
Cory LaNou 81d22fb0b4 first basic drop measurement test 2015-02-25 12:42:24 -07:00
Cory LaNou 223052d5dd Disable test. Issue #1727 2015-02-25 11:10:13 -07:00
Paul Dix 36a5c564fe Add test with an AND in the query 2015-02-24 17:10:35 -05:00
Paul Dix 036859c191 Fix limit and offset, add more tests.
Also updated the Clone and Substatement methods to copy the offset.
2015-02-24 01:42:11 -05:00
Paul Dix dffcac541d Add support for limit and offset on the number of series returned 2015-02-24 01:16:06 -05:00
Paul Dix db0f5f025b Add server test for raw data query GROUP BY * 2015-02-24 00:43:53 -05:00
Paul Dix 8455a2637e Fix server test after refactor of write api 2015-02-24 00:36:07 -05:00
Paul Dix a8a0b9f24e Fix raw data query where some values are null
I also removed the engine test for the raw planner. It's getting tested elsewhere and it would have been too difficult to make it work. Besides, that's getting replaced soon anyway.
2015-02-24 00:36:07 -05:00
Paul Dix b69597f376 Fix queries that return raw data without aggregates. 2015-02-24 00:36:07 -05:00
Philip O'Toole 0475d176f2 Wildcard unit test should expect "series" not "rows" 2015-02-23 19:17:56 -08:00
Philip O'Toole 04c50ae8a1 Update wildcard unit test for "Fields" 2015-02-23 19:11:50 -08:00
Philip O'Toole 5f71aed8bd Fix previously failing GROUP BY * unit tests
GROUP BY * functionality is now in place.
2015-02-23 19:09:55 -08:00
Philip O'Toole 2647e79e2a Add failing test of wildcard GROUP BY 2015-02-23 19:07:01 -08:00
Paul Dix 89b80dcd66 WIP: insane refactor of engine. Must come back later. 2015-02-23 18:07:01 -05:00
Philip O'Toole 2f0fe901e3 Rename "Values" to "Fields" for writes 2015-02-23 15:06:56 -08:00
Cory LaNou 8e086a447b Change delete to drop for [dD]ropDatabase 2015-02-23 13:14:18 -07:00
Philip O'Toole 3e727ac01e Change "Rows" to "Series" in API output 2015-02-22 21:21:49 -08:00
Cory LaNou d059b3e2da update test name 2015-02-21 21:20:28 -07:00
Cory LaNou 63b6719e39 better basic drop series test 2015-02-21 20:21:02 -07:00
Cory LaNou da10fa8e80 in depth drop series test 2015-02-21 20:06:58 -07:00
David Norton 61352f78b6 pass all series IDs to Server.DropSeries at once 2015-02-21 17:18:50 -07:00
Cory LaNou 5ab3731159 delete -> drop for series naming 2015-02-21 17:18:50 -07:00
Cory LaNou c2daa18aae first test for dropping series 2015-02-21 17:10:11 -07:00
Ben Johnson 4dbd1541f7 Add index tracking to metastore.
This commit adds tracking of the index to the metastore so that data
nodes will ignore replayed indexes when they are restarted. This
does not include index persistence for the shards.
2015-02-21 13:46:16 -07:00
Philip O'Toole ccc15b8abb Skip CQ unit test, maybe due to batch writes
The Query Engine is also being refactored, so this may affect this code.
2015-02-20 20:45:48 -08:00
Paul Dix 36d16a3172 Update broker to have URLs for replicas
* Update the infludb broker to not need a server so that it'll work on non-data node servers
* Update messaging broker to keep track of connect urls for replicas
2015-02-17 21:02:53 -05:00
Paul Dix 47cddda6e2 Fix up stubbed out CQ tests 2015-02-17 21:02:52 -05:00
Paul Dix 8d9bcdbc97 Finish wiring up basic version of CQs 2015-02-17 21:02:52 -05:00
Paul Dix fec6764b09 WIP: wire up continuous queries
* Fix run to work with CQ broker
* Fix CQ handler
* Fix SetTimeRange to use RFC3339Nano
* Fix the time range tests
* Fix the parser to parse for RFC3339Nano literals in addition to the other format
* Add logic for running CQs
* Remove duplicate WriteBufferSize default setting from config
2015-02-17 21:02:18 -05:00
Paul Dix b0d4b6da55 WIP: fix cq query times 2015-02-17 21:01:21 -05:00
Paul Dix f2d132b361 Implement continuous queries with group by intervals
* Update defaults on Broker for when to trigger CQ runs
* Add config settings for how often to calculate and recalculate CQ results
* Update Server to have CQ settings
* Update AST to fold removed time literals when setting time range
* Add periodic CQ running functionality to server
2015-02-17 21:00:24 -05:00
Paul Dix 5f14d5faf5 WIP: start implementation of continuous queries
* Update SelectStatement to have GroupByInterval
* Update parser to verify that CQs have GroupByInterval if Aggregated
* Implement CreateContinousQuery on Server
* Add ContinuousQueries to database
2015-02-17 21:00:24 -05:00
Philip O'Toole 0c8ded4197 Unit test retention policy enforcement 2015-02-11 09:54:07 -08:00