Commit Graph

78 Commits (b6ca46c5bd48b1b15843b6e386df42004aa23147)

Author SHA1 Message Date
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 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
Paul Dix f6948b14c8 Update Database and Metastore to keep series info
* Change database to keep all data under a bucket in bolt
* Subbucket under the database to keep tagbytes to ids
* Subbucket under the database to keep ids to tag values
2014-12-22 07:35:29 -05:00
Paul Dix 6f5643a9ed Remove the old series cruft from database and metastore 2014-12-22 07:35:29 -05:00
Ben Johnson d69691e6c5 Refactor planner. 2014-12-09 08:45:29 -07:00
Ben Johnson c77191b282 Rebuilding engine in influxql. 2014-12-07 22:08:39 -07:00
Ben Johnson d34bc1f57f Add AST string encoding, substatement extraction. 2014-12-06 11:17:58 -07:00
Paul Dix 309d6b90c5 Refactor CreateShardsIfNotExist to take policy name 2014-12-03 15:52:38 -05:00
Paul Dix 40cb058370 Refactor CreateShardIfNotExist
* make createShardIfNotExist non-exported function
* make CreateShardsIfNotExist to create shards for a given block of time. Makes it so we don't need to expose series ids on exported functions.
2014-12-03 15:36:54 -05:00
Paul Dix 3190840f4b gofmt 2014-12-03 11:32:53 -05:00
Paul Dix 83c06ea5b7 Make ShardBySeriesTimestamp not exported 2014-12-03 10:38:32 -05:00
Paul Dix ec96fe2eb9 Change getSeriesId to seriesID to be idomatic 2014-12-03 10:32:39 -05:00
Paul Dix bbc2d2e477 Update CreateShardIfNotExists to check for shard first 2014-12-03 10:12:20 -05:00