Commit Graph

89 Commits (2585a9ea4f1882b8a19088fa17c21c3fcd43e349)

Author SHA1 Message Date
Paul Dix 8fee14fbf8 Fixes based on PR feedback.
* Pull out magic numbers for running CQs in the broker
* Typo fixes in comments
* Update the process_continuous_queries endpoint to not have gzip
* Remove previous implementation of MeasurementNames in favor of new simpler one
2015-02-17 21:02:53 -05:00
Paul Dix 2d08d6e288 Fix errors after master rebase. 2015-02-17 21:01:22 -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 e82502227b Decode strings correctly with correct end index
Unit test indexing of strings.
2015-02-17 12:33:50 -08:00
Philip O'Toole ae81dff9f6 Use Field codec in debug code 2015-02-16 16:43:35 -08:00
Philip O'Toole 5f20af0023 Implement codec DecodeByID 2015-02-16 16:31:39 -08:00
Philip O'Toole 6db74aa9bb Implement codec's encode 2015-02-16 16:01:52 -08:00
Philip O'Toole dcdb4b77a1 Merge branch 'master' into support_all_value_types
Conflicts:
	database.go
	server.go
2015-02-16 09:21:10 -08:00
Philip O'Toole 75ebfaf3dd Use "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 32faba7248 Add "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 4baeee3af0 Support bool and string types 2015-02-12 17:35:10 -08:00
Philip O'Toole 5b8c0748af Remove marshalValues
Code now on Measurement type
2015-02-12 16:07:20 -08:00
Philip O'Toole bf9bfd6106 Error if field's type has changed 2015-02-12 16:06:37 -08:00
Philip O'Toole 6a20100d2f Implement "delete shard group" command 2015-02-11 09:54:07 -08:00
Philip O'Toole 37647cc6a6 Add function to return shard group by ID
If shard groups were stored in a map by ID, this lookup could be sped
up.
2015-02-11 09:54:07 -08:00
Philip O'Toole dd312a940e Merge pull request #1466 from influxdb/directly_index_fields
Look up Field by ID by direct indexing
2015-02-10 16:16:30 -08: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
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
David Norton 9bbd260d2e remove sort in (database) Measurements() 2015-02-04 10:59:47 -05:00
David Norton 2b84113487 issue #1423: wire up show field keys 2015-02-04 10:59:47 -05:00
David Norton a8b86dc29b golint cleanup 2015-02-01 13:47:48 -05:00
Philip O'Toole 35f853a2db Look up field by ID by direct indexing
There is no need to iterate over the entire slice since IDs increase
lock-step with the position in the underlying Field array, so make this
lookup constant-time.
2015-01-30 23:21:05 -08:00
David Norton f827bf324a issue #1412: wire up show tag values 2015-01-29 15:01:25 -05:00
David Norton 3a4d12aa76 wip 2015-01-28 03:45:21 -05:00
David Norton 16eaae5fbd implement SHOW MEASUREMENTS 2015-01-28 00:51:09 -05:00
David Norton b50e4cc514 implement SHOW SERIES 2015-01-28 00:29:14 -05:00
Paul Dix 74e1bb99b6 Fix failures after rebase 2015-01-27 20:29:15 -05:00
Paul Dix f2419caeb5 Wire up field expression evaluation 2015-01-27 20:27:19 -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 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
djherbis ea6a87466e added missing bounds check to SeriesIDs Intersect 2015-01-22 21:22:30 -05:00
Ben Johnson 4a03f09e9d Code review fixes. 2015-01-15 12:03:31 -07:00
Ben Johnson 2f2300f201 Code review fixes. 2015-01-15 10:35:42 -07:00
Ben Johnson 0e2aae61e3 Basic query engine integration. 2015-01-14 16:44:09 -07:00
Ben Johnson 47cd03f3d3 Partial engine integration. 2015-01-13 10:16:43 -07:00
Ben Johnson ff470047ef Code review fixes. 2015-01-12 13:10:26 -07:00
Ben Johnson 5652e12c63 Add write series. 2015-01-10 13:29:43 -07:00
Ben Johnson 6912c1415d Merge branch 'master' of https://github.com/influxdb/influxdb into write-series
Conflicts:
	server.go
2015-01-10 10:03:37 -07:00
Ben Johnson 946007916c Partial write series code. 2015-01-10 08:48:50 -07:00
David Norton c39d012a23 go vet cleanup 2015-01-09 20:08:55 -05:00
Paul Dix 70ad990208 Remove series id to measurement map, put in series object 2015-01-02 14:24:48 -05:00
Paul Dix b6691e035c More style updates 2015-01-02 14:13:45 -05:00
Paul Dix b42def229a Update database style based on feedback 2015-01-02 14:02:02 -05:00
Paul Dix d5548aa136 Refactor Index into database
* Pull database, Measurement, Series, ReplicationPolicy, and Shard into database.go to keep things manageable and clean
* Remove the locks from the index method. The server will handle thread safety for database objects
* Move the Index tests into database_test.go and in the influxdb package because we're not exporting database
2014-12-31 18:55:45 -05:00
Ben Johnson b25ced9b8e Refactor database methods into server. 2014-12-22 23:18:05 -07:00
Paul Dix 639e25e2ce Fix build, cleanup database measurements test. 2014-12-22 07:35:29 -05:00
Paul Dix 5ba05c8b84 Fix wrong lock on create series, rename Series to Measurements for consistency 2014-12-22 07:35:29 -05:00
Paul Dix 4d4b9656c7 Add Fields to Measurement.
* Add Field
* Changes series on meta to measurements for consistency
* Update metastore to store serialized Series object instead of tags
2014-12-22 07:35:29 -05:00