Commit Graph

94 Commits (ca1f21fc6f6e548faf464247d7704a96314d017a)

Author SHA1 Message Date
Philip O'Toole b6ca46c5bd Remove stubbed out unit test for field creation
This file only tests exported calls, so instead testing is now present
at the HTTP handler level.
2015-02-15 15:28:42 -08:00
Philip O'Toole 75ebfaf3dd Use "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 0c8ded4197 Unit test retention policy enforcement 2015-02-11 09:54:07 -08:00
Philip O'Toole 8cb06c5b8e Refactor retention policy enforcement for testing 2015-02-11 09:54:07 -08:00
Philip O'Toole 8dae2c2268 Unit-test deletion of shard groups 2015-02-11 09:54:07 -08:00
Philip O'Toole 20bbbe759b Fix minor typo in unit test comment 2015-02-11 09:54:07 -08:00
Philip O'Toole 50ef1672cb Add stubbed enable of retention policy enforcement 2015-02-11 09:54:07 -08:00
Philip O'Toole f87d97467c Restart server tests after shard group creation 2015-02-10 20:32:36 -08:00
Cory LaNou 6b269ef09e adding comment on test for predictability, enhancing test 2015-02-10 10:00:09 -07:00
Cory LaNou 0811af6211 sorting was not required, it was a testing setup issue 2015-02-10 09:49:22 -07:00
Cory LaNou adcf038323 Merge pull request #1550 from influxdb/cli-not-reporting-errors
CLI needs to echo out errors from client library.
2015-02-10 09:28:27 -07:00
Cory LaNou 1f56514c29 Merge pull request #1540 from influxdb/select-wildcard
Select wildcard functionality implemented
2015-02-10 09:07:31 -07:00
Cory LaNou 7b28df0d49 someone needs to add a precommit hook... 2015-02-10 08:54:19 -07:00
Todd Persen 6b70408864 Merge pull request #1351 from influxdb/go-external
Change "code.google.com/p/go.*" to "golang.org/x/*"
2015-02-09 20:23:26 -08:00
Cory LaNou c866f57473 rebasing can suck sometimes 2015-02-09 20:04:19 -07:00
Cory LaNou df7e8e3add removing comments, test back to original state 2015-02-09 20:01:14 -07:00
Cory LaNou c83de8695a simplify test 2015-02-09 20:01:14 -07:00
Cory LaNou 86969a1fe8 add a test that better covers select * 2015-02-09 20:01:14 -07:00
Cory LaNou 8a1bb5922c added wildcard query functionality. fixes #1432 2015-02-09 19:59:13 -07:00
Paul Dix 3c26a3e91b Fix panic if a point doesn't have a value for a field.
Fixes #1530. Ensures that the series iterator doesn't yield points that don't have a value for the field that is being aggregated.
2015-02-09 03:39:42 -05:00
Paul Dix 712297cdb5 Merge pull request #1506 from influxdb/fix-select-where-time
Fix queries that have only time in their where clause
2015-02-08 02:05:03 -05:00
Philip O'Toole 6c60c6397f Add simple non-aggregate test
This makes it clearer what is going on.
2015-02-06 21:55:28 -08:00
Philip O'Toole 095d210d59 Fix time range condition in unit test 2015-02-06 20:36:53 -08:00
Cory LaNou 973bb78808 add tests for logging unauthorized access request 2015-02-06 10:03:34 -07:00
Cory LaNou 4225cd7407 move Authorize from func to method for Server 2015-02-06 09:16:45 -07:00
Cory LaNou 1604d7f604 refactor how we default authentication enabled 2015-02-05 15:54:32 -07:00
Cory LaNou f4dfb87acc first pass at hardening authorize 2015-02-05 14:39:40 -07:00
David Norton d0dc677292 fix #1516: ALTER RETENTION POLICY 2015-02-05 12:54:06 -05:00
Paul Dix bc813cc9da Fix queries with where clause only having time.
* Add OnlyTimeDimensions to SelectStatement
* Update the database to handle queries that only have a time statement
* Fix server test to insert a time literal that can be parsed.
2015-02-05 01:29:19 -05:00
Paul Dix c4a4f021ca Update server test case to show failing on where time clause 2015-02-04 06:51:01 -05:00
Cory LaNou 55cc5cfa09 sending all time back as RFC3339Nano instead of UnixNano (int64) 2015-02-03 16:55:33 -07:00
Cory LaNou 37f62dbe71 We now store in nanoseconds and send back nanosecond values 2015-02-02 14:08:13 -07:00
David Norton 19992f3ecc gofmt -s (simplify) 2015-02-01 15:33:12 -05:00
Cory LaNou 4b84a2d174 Point/Results duplicated in Client package. Custom marshaling for timestamps 2015-01-29 16:23:15 -07:00
Cory LaNou 8643aa28aa wip starting support for http endpoint taking epoch time 2015-01-29 16:23:15 -07:00
Ben Johnson 65fc906b00 fix test. 2015-01-28 04:06:24 -05:00
Ben Johnson a3609ee5b5 Add statement normalization before execution.
This commit adds a call to Server.NormalizeStatement() immediately before execution. It defers normalization
just before execution in case statements leading up it will alter the normalization process.
2015-01-27 22:56:30 -05:00
Paul Dix 74e1bb99b6 Fix failures after rebase 2015-01-27 20:29:15 -05:00
Paul Dix c2ded241ea WIP: wire up group bys and pretty much the whole shebang 2015-01-27 20:27:19 -05:00
Ben Johnson 385687b8b4 Add multishard iteration. 2015-01-27 20:26:32 -05:00
Ben Johnson 1eda0ffcb9 Refactoring query engine. 2015-01-27 20:26:31 -05:00
Ben Johnson d340ffcf3c Expression expansion and reduction. 2015-01-27 20:26:31 -05:00
Philip O'Toole a197d16ac8 Add top-level "results" key
This brings the API output into line with the API specification.
2015-01-27 15:47:47 -08:00
Todd Persen dadd97e4e5 Change "code.google.com/p/go.*" to "golang.org/x/*" 2015-01-22 18:36:57 -05:00
David Norton 2d34c71c0c Add authorization unit tests & code review fixes 2015-01-20 23:45:18 -05:00
SaviorPhoenix e96adbf80b Fix a simple printf fmt typo in server_test.go:574 2015-01-20 02:54:01 -07:00
Ben Johnson 81f457907f Add measurement normalization and identifier splitting. 2015-01-18 14:45:22 -07:00
Ben Johnson 55d623220c Merge branch 'master' of https://github.com/influxdb/influxdb into engine-intg
Conflicts:
	server_test.go
2015-01-14 22:21:55 -07:00
Ben Johnson 0e2aae61e3 Basic query engine integration. 2015-01-14 16:44:09 -07:00
Cory LaNou e4604fec36 Refactoring based on PR comments
Changing WriteSeries to take a slice of points instead of variable
arguments

Adding godoc comment for public type Point
2015-01-13 16:26:14 -07:00