Commit Graph

2912 Commits (f8fdb4e5ff83ae0a29c44a2bad067c61686e3a70)

Author SHA1 Message Date
Paul Dix f8fdb4e5ff Wire up tag not null/empty filter 2014-12-29 16:24:09 -05:00
Paul Dix 877f90aed3 Use union when combining multiple mersurement series id sets 2014-12-26 14:42:06 -05:00
Paul Dix 4ffe8369a1 Fix stupid bug on measurementIndex.addSeries. Thanks @benbjohnson! 2014-12-26 14:21:10 -05:00
Paul Dix dff557ae19 Wire up NOT filters
* Add Reject method to SeriesIDs
* Refactor the adding of a series into measurementIndex
* Update measurementIndex to keep a sorted list of all series IDs
2014-12-26 13:37:02 -05:00
Paul Dix 360c7a4029 Wire up Union of SeriesIDs 2014-12-26 12:37:59 -05:00
Paul Dix 07ed9ae8e8 Add more test cases for filtering and intersection. 2014-12-26 12:20:35 -05:00
Paul Dix 94110716cd Make index construction more efficient 2014-12-26 11:23:29 -05:00
Paul Dix e49d2b728b Rename TagIndex to Index 2014-12-26 11:10:46 -05:00
Paul Dix 9ec210f7f9 Add comments for clarity 2014-12-24 19:01:53 -05:00
Paul Dix 9fb04a2636 Add per measurement tag index.
* Add tag index inside the measurement index
* Add initial table tests for getting series ids by filters
* Add comments for some existing methods
2014-12-24 18:44:53 -05:00
Paul Dix bbe859c981 WIP: Add in memory tag and megastore index
* Refactor metastore to remove tag mappings
* Add TagIndex and tests
* Update server to use TagIndex
2014-12-23 23:46:54 -05:00
Ben Johnson f381697640 Merge pull request #1261 from influxdb/refactor
WIP: Refactor database methods into server
2014-12-23 11:21:25 -07:00
Ben Johnson bc84151b00 Fix leaky shard creation. 2014-12-23 11:18:46 -07:00
Ben Johnson ca6d0e30af Code review fixes. 2014-12-23 08:47:32 -07:00
Ben Johnson b25ced9b8e Refactor database methods into server. 2014-12-22 23:18:05 -07:00
Paul Dix b7cc1c5134 Merge pull request #1260 from dvigueras/patch-1
Fixed 'How to Write Go Code' link
2014-12-22 15:47:07 -05:00
Daniel Vigueras d213acee90 Fixed 'How to Write Go Code' link
The link was wrong, it had an extra closing bracket.
2014-12-22 20:08:37 +00:00
Ben Johnson 24e0a398cc Merge pull request #1201 from influxdb/tag-index
Tag index
2014-12-22 09:24:16 -07:00
Ben Johnson 688080af3d Merge pull request #1257 from influxdb/filter-tags
Add tag filtering
2014-12-22 09:01:05 -07:00
dgnorton 3628a9d05d Merge pull request #1239 from influxdb/http-api
Http api
2014-12-22 10:42:24 -05:00
David Norton d51214d41c handler: code review changes 2014-12-22 10:41:09 -05:00
David Norton 237dec2d12 handler: code review changes 2014-12-22 10:20:48 -05:00
David Norton 6b6f0b3a18 Revert change to HashPassword func 2014-12-22 10:20:48 -05:00
David Norton 3c57dd3165 Wire up GET /db/:db/users 2014-12-22 10:20:48 -05:00
David Norton 7079d69f03 Wire up DELETE /cluster_admins/:user 2014-12-22 10:20:48 -05:00
David Norton d67257e83b Wire up POST /cluster_admins 2014-12-22 10:20:48 -05:00
David Norton 2b1c2ff97a go fmt 2014-12-22 10:20:48 -05:00
David Norton 9f174e6b21 Wire up GET /cluster_admins 2014-12-22 10:20:48 -05:00
David Norton c89a61d6d4 Wire up DELETE /db/:db/users/:user 2014-12-22 10:20:48 -05:00
David Norton c80b5a698b Wire up POST /db/:db/users/:user 2014-12-22 10:20:48 -05: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 661ef86c51 Merge pull request #1258 from influxdb/rewrite
Add Rewriter
2014-12-21 17:55:30 -07:00
Ben Johnson fdd65116b4 Add Rewriter. 2014-12-21 15:18:55 -07:00
Ben Johnson eced3a347c Add tag filtering.
This commit adds tag filtering via the `WHERE` clause.

Example:

	SELECT sum(value) FROM cpu GROUP BY time(1h), host WHERE region = 'us-west'
2014-12-21 13:22:04 -07:00
Ben Johnson a034dab697 Fix date parsing comment. 2014-12-21 12:45:52 -07:00
Ben Johnson 7501c3538d Merge pull request #1256 from influxdb/abs-time
Add absolute time support
2014-12-21 11:10:47 -07:00
Ben Johnson 2aa6612a04 Merge branch 'date-parsing' into abs-time 2014-12-21 11:09:26 -07:00
Ben Johnson bd79d70f50 Add absolute time support.
This commit adds the ability to specify time by duration since epoch.

Example:

	SELECT * FROM cpu WHERE time > 1388534400s
2014-12-21 11:07:14 -07:00
Ben Johnson 6a19a8130d Merge pull request #1255 from influxdb/date-parsing
Add date-only parsing
2014-12-21 11:02:12 -07:00
Ben Johnson 2564933639 Add date-only parsing.
This commit changes the Parser to check for date-only formatted strings instead of only
datetime formatted strings.
2014-12-21 10:59:36 -07:00
Ben Johnson e3ac00a5aa Merge pull request #1254 from influxdb/fix-neq
Fix NEQ
2014-12-21 10:44:20 -07:00
Ben Johnson d92d0d4737 Fix NEQ: Change != to <> 2014-12-21 10:43:03 -07:00
Ben Johnson 4d0cf4e47b Fix syntax error. 2014-12-21 10:40:39 -07:00
Ben Johnson b3a4d0aca7 Merge pull request #1247 from influxdb/group-by
Add group by support for tags.
2014-12-21 10:06:40 -07:00
Ben Johnson f5a3e9bf15 Code review fixes. 2014-12-21 10:05:15 -07:00
Ben Johnson 252a4cfba8 code review fix. 2014-12-19 21:45:40 -07:00