Philip O'Toole
b045a0008e
Remove redundant Aggregated() on select statement
2015-03-19 15:22:43 -07:00
Philip O'Toole
cbd43bd9b2
IsRaw now works without time present
2015-03-19 15:12:46 -07:00
Paul Dix
56281fbfd5
WIP: add IsRawQuery to select and fix LIMIT and OFFSET on GROUP BY time
2015-03-19 11:41:18 -04:00
David Norton
fd005a5f15
influxql: allow regex in FROM clause
2015-03-16 19:40:21 -04:00
Philip O'Toole
e08066495a
Add "SHOW STATS" command
2015-03-15 14:31:16 -07:00
Cory LaNou
08b15d9370
zeros are ok after all
2015-03-12 18:59:38 -06:00
Cory LaNou
eda74a25f1
allow offset 0
2015-03-12 18:20:58 -06:00
Paul Dix
06e8c1b3e8
Add fill to select statements.
...
Fixes #1913
Add fill(none), fill(<num>), and fill(previous) options
2015-03-11 18:05:31 -07:00
Cory LaNou
de1defc528
add SHOW SERVERS to query language
2015-03-10 13:46:05 -06:00
Paul Dix
1a545a1cc0
Update Slimit and Soffset to SLimit and SOffset
2015-03-09 20:09:47 -07:00
Paul Dix
8d2abc5c86
Add Slimit and Soffset. Update tests and behavior to use those.
2015-03-09 18:46:05 -07:00
Philip O'Toole
a2e4556563
Allow 'INF' to indicate infinite retention
2015-03-05 15:23:54 -08:00
Philip O'Toole
51bf552ca9
Fix typo in comment
2015-03-05 14:45:47 -08:00
David Norton
9d6d36f2e9
fix #1799 : change regex delim to '/' & RHS only
2015-03-03 09:32:15 -05:00
David Norton
08796bd6af
fix #1799 : make scanner recognize regex
...
Change the regex delimiter from single quotes to back ticks (`) and make
the scanner recognize regex tokens.
Single quotes are used for string literals. Using a unique delimiter for
regular expression literals allows the scanner to recognize regular
expression tokens, which is inline with the way the rest of the
scanner / parser work.
2015-03-03 09:32:15 -05:00
Cory LaNou
151015b4b8
parsing DROP MEASUREMENT
2015-02-25 12:42:23 -07:00
Cory LaNou
2aa155c428
wip
2015-02-25 12:42:23 -07:00
Philip O'Toole
3867a1933c
Parse Series IDs are 32-bit unsigned integers
2015-02-24 12:43:50 -08:00
Philip O'Toole
bf3aa528b0
Allow parsing of * for GROUP BY
2015-02-23 19:07:01 -08:00
Cory LaNou
7d74ccac6a
addressing nit
2015-02-21 17:21:27 -07:00
Cory LaNou
27d7f45729
support drop series without from but with where
2015-02-21 17:05:08 -07:00
Cory LaNou
fd9c19ad9c
wire up drop series parsing
2015-02-21 17:05:08 -07:00
David Norton
9bff9cdeee
issue #1431 : wire up regex queries
2015-02-21 15:38:35 -05:00
David Norton
12bed3e74f
issue #1430 : add where regex to influxql
2015-02-21 15:37:52 -05:00
Paul Dix
fec6764b09
WIP: wire up continuous queries
...
* Fix run to work with CQ broker
* Fix CQ handler
* Fix SetTimeRange to use RFC3339Nano
* Fix the time range tests
* Fix the parser to parse for RFC3339Nano literals in addition to the other format
* Add logic for running CQs
* Remove duplicate WriteBufferSize default setting from config
2015-02-17 21:02:18 -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
Mark Rushakoff
2e4b9d8b3b
Add missing valid statements for SHOW
...
And alphabetize the order.
2015-02-09 17:06:18 -08: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
David Norton
d7814eb5f1
issue #1418 : wire up revoke privilege
2015-01-30 10:46:29 -05:00
David Norton
0cf681d19c
influxql: remove TagKeyIdent, add WITH KEY clause
2015-01-29 15:01:25 -05:00
David Norton
ae33bc99db
issue #1411 : wire up show tag keys
2015-01-28 21:33:19 -05:00
Paul Dix
3ad3abaf64
Merge pull request #1398 from influxdb/show-queries
...
Show queries
2015-01-28 10:44:08 -05:00
David Norton
2cf41d6ea9
influxql: fix WHERE TAG KEY parsing
2015-01-28 05:02:36 -05:00
David Norton
b50e4cc514
implement SHOW SERIES
2015-01-28 00:29:14 -05:00
Ben Johnson
d340ffcf3c
Expression expansion and reduction.
2015-01-27 20:26:31 -05:00
David Norton
780831bb17
change LIST to SHOW
2015-01-25 22:56:20 -05:00
David Norton
ab39d471a3
influxql: add OFFSET
2015-01-25 15:34:49 -05:00
Ben Johnson
9ccc3b73e0
Refactor ident parsing into Parser.parseIdent().
2015-01-19 16:12:33 -07:00
Ben Johnson
73bc8215bc
Remove combined string/ident scanning.
2015-01-19 16:01:24 -07:00
Ben Johnson
3c8c8724ed
Implement full ident scanning, single quote strings.
2015-01-19 13:05:38 -07:00
Ben Johnson
81f457907f
Add measurement normalization and identifier splitting.
2015-01-18 14:45:22 -07:00
David Norton
9e3ca7b569
influxql: add LIST USERS statement
2015-01-14 11:53:17 -05:00
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
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
8da9494a46
influxql: fix comment in parser.go
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
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
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
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
Ben Johnson
a034dab697
Fix date parsing comment.
2014-12-21 12:45:52 -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
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
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
David Norton
9d2aba9d7f
influxql: move ORDER BY parsing to its own func
2014-12-16 12:32:08 -05:00
David Norton
3deb2bb132
go fmt
2014-12-16 09:06:51 -05:00
David Norton
abce33981a
influxql: capitalize LIMIT in error message
2014-12-16 09:06:51 -05:00
David Norton
4ce9b2bd74
influxql: add LIST MEASUREMENTS, TAGS, & FIELDS
2014-12-16 09:06:51 -05:00
David Norton
ddc1352073
influxql: only accept LIMIT values > 0
2014-12-16 09:06:51 -05:00
David Norton
6f3ba3efdb
influxql: change ORDER BY to accept a field list
...
Change ORDER BY to accept a field list and change LIST SERIES
statement to allow ORDER BY.
2014-12-16 09:06:51 -05:00
David Norton
0f3ea136be
influxql: make LIST SERIES support WHERE & LIMIT
2014-12-16 09:06:51 -05:00
Ben Johnson
38263e0fac
Add time range extraction and group by support to execution engine.
2014-12-15 08:34:32 -07:00
Ben Johnson
e854b913e5
Add constant folding.
2014-12-10 23:32:45 -07:00
Ben Johnson
d34bc1f57f
Add AST string encoding, substatement extraction.
2014-12-06 11:17:58 -07:00
David Norton
26ecd06ef5
Change Wild to Wildcard and move test
2014-11-25 18:23:10 -05:00
David Norton
f8073bf287
Make influxql parse SELECT *
2014-11-25 17:43:22 -05:00
David Norton
af86d7cb1c
Add TODO for parsing SELECT *
2014-11-25 17:07:17 -05:00
Ben Johnson
dc67d2f0aa
Add microsecond support to influxql.ParseDuration.
2014-11-24 23:43:23 -07:00
Ben Johnson
4992a006e4
Add ParenExpr.
2014-11-24 23:12:32 -07:00
Ben Johnson
143f8a0fd5
Add CREATE CONTINUOUS QUERY parsing.
2014-11-24 21:49:09 -07:00
Ben Johnson
7288a778c3
Add influxql.Call.
2014-11-24 20:43:23 -07:00
Ben Johnson
cfc20e0447
Change DROP CONTINUOUS QUERY to use a query name.
2014-11-24 17:58:21 -07:00
Ben Johnson
91f16db3af
Add LIST/DROP SERIES and LIST/DROP CONTINUOUS QUERIES.
2014-11-22 16:33:21 -07:00
Ben Johnson
6ef8d4634a
Add influxql parser.
2014-11-21 21:12:48 -07:00
Ben Johnson
37ee2ac23c
Remove engine, parser, and Makefile.
2014-11-17 15:54:35 -07:00