Ben Johnson
bbc5539517
add SHOW SHARDS statement
...
This commit adds the ability to list all shards in the cluster
and return their id, start time, end time, expiry time, and
owner ids. Shards are grouped by database.
Fixes #3562
2015-09-03 15:46:52 -06:00
David Norton
99a22c174b
fix #2555 : add backreference in CQs
...
Add new query syntax to allow the following in CQs:
INTO "1hPolicy".:MEASUREMENT
2015-09-03 07:12:15 -04:00
Philip O'Toole
1228c985ea
Parser support for CREATE DATABASE IF NOT EXISTS
2015-08-28 19:04:50 -07:00
Dejan Golja
f133ceb350
Added support for SHOW GRANTS FOR USER syntax
2015-06-17 01:00:26 +10:00
Cory LaNou
b9de38e7d4
support SELECT DISTINCT foo and SELECT distinct(foo)
2015-05-19 09:16:20 -06:00
Cory LaNou
06d40a2582
SELECT DISTINCT field -> SELECT distinct(field)
2015-05-19 09:16:20 -06:00
Cory LaNou
b6b916edbc
add distinct keyword
2015-05-19 09:16:19 -06:00
David Norton
c2b61af3a1
fix #2224 : make influxql keywords case insensitive
2015-04-09 16:08:28 -04:00
Dejan Golja
e1b9982401
Add support for SET PASSWORD FOR user = 'PASSWORD'
...
Added support for the set password for user, so we can update user
password via the new server administration commands
2015-04-04 14:16:54 +11:00
Philip O'Toole
1c440f8542
Implement "SHOW DIAGNOSTICS"
2015-03-23 23:45:57 -07:00
Philip O'Toole
e08066495a
Add "SHOW STATS" command
2015-03-15 14:31:16 -07:00
Cory LaNou
de1defc528
add SHOW SERVERS to query language
2015-03-10 13:46:05 -06: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
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
Joseph Rothrock
bcad98c902
malformed identifiers get through
...
Issue: 1768
We weren't checking return codes from scanString.
Added text descriptions for BADSTRING and BADESCAPE tokens.
2015-02-27 13:33:36 -08:00
David Norton
12bed3e74f
issue #1430 : add where regex to influxql
2015-02-21 15:37:52 -05:00
David Norton
0cf681d19c
influxql: remove TagKeyIdent, add WITH KEY clause
2015-01-29 15:01:25 -05:00
David Norton
2cf41d6ea9
influxql: fix WHERE TAG KEY parsing
2015-01-28 05:02:36 -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
David Norton
9e3ca7b569
influxql: add LIST USERS statement
2015-01-14 11:53:17 -05:00
David Norton
d514cd03c8
influxql: add LIST RETENTION POLICIES statement
2015-01-13 15:40:43 -05:00
David Norton
05e2bff6c4
influxql: add LIST DATABASES statement
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
d6aa34e840
influxql: add ALTER RETENTION POLICY statement
2015-01-05 13:24:50 -05:00
David Norton
96e8f96d13
influxql: add CREATE RETENTION POLICY statement
2015-01-04 21:50:56 -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
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
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
David Norton
74ade8cffb
Add LIST related tokens to scanner
2014-12-16 09:06:50 -05:00
Ben Johnson
d34bc1f57f
Add AST string encoding, substatement extraction.
2014-12-06 11:17:58 -07:00
Ben Johnson
143f8a0fd5
Add CREATE CONTINUOUS QUERY parsing.
2014-11-24 21:49:09 -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
1ca44658e5
Add semicolon, INSERT, INTO to Scanner.
2014-11-20 08:02:47 -07:00
Ben Johnson
3d612fafbf
Add InfluxQL scanner.
...
This commit adds a pure Go implementation of the InfluxQL scanner. It includes support for:
- Identifiers
- Numbers
- Strings
- Durations
- Booleans
- Numeric and logical operators
- InfluxQL keywords
2014-11-19 16:47:46 -07:00
Ben Johnson
0e9a74294e
Add InfluxQL AST and tokens.
2014-11-15 12:04:30 -07:00