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
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
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
Ben Johnson
0a73416e4d
Use the last ident segment for result names.
2015-01-28 03:57:38 -05:00
Ben Johnson
1eda0ffcb9
Refactoring query engine.
2015-01-27 20:26:31 -05: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
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
96e8f96d13
influxql: add CREATE RETENTION POLICY statement
2015-01-04 21:50:56 -05:00
Ben Johnson
d92d0d4737
Fix NEQ: Change != to <>
2014-12-21 10:43:03 -07:00
Ben Johnson
d34bc1f57f
Add AST string encoding, substatement extraction.
2014-12-06 11:17:58 -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
bac1b48cf7
Fix Scanner.Scan() comment.
2014-11-19 21:11:56 -07:00
Ben Johnson
f94b588013
Fix EQ token scanning.
2014-11-19 17:16:38 -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