Commit Graph

87 Commits (fd8e8a108d3ef6b136a6d5f882236bd8dfb0c87f)

Author SHA1 Message Date
David Norton 012b41e5ca influxql: add DROP RETENTION POLICY statement 2015-01-13 16:46:07 -05:00
David Norton d514cd03c8 influxql: add LIST RETENTION POLICIES statement 2015-01-13 15:40:43 -05:00
David Norton 874eedf36d Add LIST DATABASES to QUERIES.md and INFLUXQL.md 2015-01-13 14:56:55 -05:00
Philip O'Toole 0938f75fa5 Use pointer types to fix 'go vet' 2015-01-12 11:50:49 -08:00
Philip O'Toole 29122a5bab More 'go vet' fixes 2015-01-12 11:47:55 -08:00
Philip O'Toole c9fdf34b4f go vet: Fields{} -> []*Field{} 2015-01-12 11:43:38 -08:00
Philip O'Toole 295d63cb57 More vet fixes 2015-01-11 15:14:22 -08:00
David Norton ccab32f33e influxql: add WITH to CREATE USER & cleanup 2015-01-09 18:21:12 -05:00
David Norton 05e2bff6c4 influxql: add LIST DATABASES statement 2015-01-09 18:21:12 -05:00
David Norton 877f35ae57 influxql: sort node lists in ast.go 2015-01-09 18:21:12 -05:00
David Norton 8da9494a46 influxql: fix comment in parser.go 2015-01-09 18:21:12 -05:00
David Norton 776e9f2ec2 influxql: add GRANT to INFLUXQL.md 2015-01-09 18:21:12 -05:00
David Norton 0439c032a0 influxql: add specification (WIP) 2015-01-09 18:21:12 -05:00
David Norton 5ea393f5ac influxql: fix scanner bug caused by double unread 2015-01-09 18:21:12 -05:00
David Norton 3b649d3e63 influxql: add CREATE CONTINUOUS QUERY (WIP) 2015-01-09 18:21:12 -05:00
David Norton f23417fa5a influxql: add CREATE CONTINUOUS QUERY, : separator 2015-01-09 18:21:12 -05:00
David Norton 4b5f9d3d0e influxql: fix broken test in parser_test.go 2015-01-06 13:47:21 -05:00
David Norton 06a684a2d8 influxql: fixed typo in err msg and comment 2015-01-05 15:46:52 -05:00
David Norton 2d219d0da0 influxql: use strconv.Atoi instead of ParseInt 2015-01-05 15:44:11 -05:00
David Norton d927573b3a influxql: use strconv.Itoa instead of FormatInt 2015-01-05 15:37:18 -05:00
David Norton d6aa34e840 influxql: add ALTER RETENTION POLICY statement 2015-01-05 13:24:50 -05:00
David Norton 7443e1323a influxql: add DROP USER statement 2015-01-04 22:56:25 -05:00
David Norton e62efba6ed influxql: add DROP DATABASE statement 2015-01-04 22:32:49 -05:00
David Norton 52c0bf0fa2 influxql: refactor ParseStatement 2015-01-04 22:03:18 -05:00
David Norton 96e8f96d13 influxql: add CREATE RETENTION POLICY statement 2015-01-04 21:50:56 -05:00
David Norton 09a8a925e8 influxql: add REVOKE statement 2015-01-03 02:06:47 -05:00
David Norton 87922c4202 influxql: add GRANT statement 2015-01-03 02:06:47 -05:00
David Norton 03694fd6c0 influxql: add CREATE USER statement 2015-01-03 02:06:47 -05:00
David Norton 4739cc8c1d remove RETENTION POLICY from CREATE DATABASE 2015-01-03 02:06:47 -05:00
David Norton 4ede864d13 influxql: add CREATE DATABASE 2015-01-03 02:06:47 -05:00
David Norton b2a2b73bd9 influxql: add tokens for user & DB admin 2015-01-03 02:06:47 -05:00
Philip O'Toole f37f0b80fa Add unit test for change made by PR 1273 2014-12-31 15:50:10 -08:00
Philip O'Toole ba0745e244 Fix comment for filterExprBySource 2014-12-31 14:35:30 -08:00
Philip O'Toole a45a08cccf Fix unit test so filterExprBySource fix is tested
The change introduced by:

    https://github.com/influxdb/influxdb/pull/1269

was not actually being tested.
2014-12-31 11:41:54 -08:00
Ben Johnson 77322731fa Merge pull request #1273 from blmarket/change-default-assoc
Change influxql default associativity from right to left.
2014-12-30 11:54:22 -07:00
Heon Jeong a59be31449 Change influxql default associativity from right to left.
Closes #1266

modified one testcase as it was depending on right
associativity.
2014-12-30 10:20:12 +09:00
Heon Jeong 5736cbe2fc Fix not to reuse unfiltered expr for filterExprBySource
`return expr` in the last line of `filterExprBySource` can
return unfiltered results, so fixing it by reconstruction
using filtered elements.

also added a test which can cause this problem.
2014-12-30 09:57:45 +09:00
Ben Johnson 688080af3d Merge pull request #1257 from influxdb/filter-tags
Add tag filtering
2014-12-22 09:01:05 -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 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 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 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 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
Ben Johnson 6c6bb92a1b Add join support.
This commit adds the ability to join multiple measurements together and calculate aggregate
function expressions.
2014-12-19 21:36:52 -07:00
Ben Johnson 41bb5ccfdd Add group by support for tags.
This commit adds GROUP BY support for tags. Previously only the interval could be grouped by.
2014-12-18 08:44:21 -07:00
Ben Johnson 925abdcb67 Merge pull request #1232 from influxdb/planner
Add time range extraction and interval grouping support to execution engine.
2014-12-16 15:08:48 -07:00