Cory LaNou
e2f33e354f
clarify error message
2015-03-20 16:52:32 -06:00
Cory LaNou
3c8e830aa3
fixing tests
2015-03-20 16:51:41 -06:00
Cory LaNou
dc0d8a35dc
wip
2015-03-20 16:51:41 -06:00
Philip O'Toole
fe44f63495
Fix parser unit test, statement is raw
2015-03-19 16:36:24 -07:00
Philip O'Toole
dc297e8012
Correctly use IsRawQuery
2015-03-19 16:32:25 -07:00
Philip O'Toole
59f25910c6
IsRawQuery should be set via Walk()
2015-03-19 16:26:16 -07:00
Philip O'Toole
b045a0008e
Remove redundant Aggregated() on select statement
2015-03-19 15:22:43 -07:00
Philip O'Toole
3001448f16
Merge branch 'master' into limit-group-by
...
Conflicts:
CHANGELOG.md
2015-03-19 15:17:50 -07:00
Philip O'Toole
cbd43bd9b2
IsRaw now works without time present
2015-03-19 15:12:46 -07:00
Paul Dix
6d85d81a0b
Make select statement clone copy IsRawQuery
2015-03-19 17:07:56 -04:00
Cory LaNou
da171cfe32
make vet happy
2015-03-19 15:05:23 -06:00
Paul Dix
3496105033
Remove resultTimes as it's not used
2015-03-19 16:48:47 -04:00
Cory LaNou
c13bdd5e86
refactor, bug fix, move tests to integration
2015-03-19 14:33:47 -06:00
Cory LaNou
d5f04d82c6
remove debug code
2015-03-19 13:43:04 -06:00
Cory LaNou
a6171b3382
refactor of limit/offset
2015-03-19 13:31:46 -06: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
Jonathan Nutzmann
46f5521070
oops - forgot to remove temp import
2015-03-19 10:31:27 -05:00
Jonathan Nutzmann
105d0aa503
fixing failed integration tests - change how number of points calculated and the expected result of the server
2015-03-19 10:28:47 -05:00
Cory LaNou
5f29565ce2
still allow crazy limits if total points is less than max group limit
2015-03-18 18:44:31 -06:00
Cory LaNou
e78e5f3e19
Limit group by to MaxGroupByPoints (currently 100,000)
2015-03-18 18:44:30 -06:00
David Norton
3f8ca0c923
influxql: remove RegexLiteral from Source types
2015-03-16 19:45:39 -04:00
David Norton
62ae32b0ce
wire up regex in FROM clause
2015-03-16 19:40:59 -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
3c3765dbb1
typo in comment
2015-03-13 16:52:49 -06:00
Cory LaNou
932b6ddc81
Sort wildcard expresion field names for consistent output
2015-03-13 16:51:18 -06: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
5ca9bb5f85
Update comment for clarity
2015-03-12 11:39:57 -07:00
Paul Dix
63111a374c
Fix issue with time buckets and improve performance
...
When the start time fell in the middle of a group by bucket, the times for all buckets would be off by the amount of that stat time. This fixes it so group by windows are always on the bucket. However, if the user specifies a start time in the middle of a bucket, the very first bucket will only have whatever data in it that is past the start time (so it'll be a partial)
Also fixed a performance bug where if someone issued a query like: `SELECT mean(value) FROM foo GROUP BY time(10s) LIMIT 3`. Previously, the engine would create emtpy values for every 10s window since 1970, then limit it afterwards. Now, it'll just create value holders for the 3 buckets we need.
2015-03-11 19:33:55 -07:00
Paul Dix
4b943e9f45
Fix fill to work if they clone the select statement.
2015-03-11 19:29:18 -07:00
Paul Dix
00888562b9
Fix typo in comment
2015-03-11 18:20:20 -07:00
Paul Dix
3d91acaa26
Update InfluxQL with fill
2015-03-11 18:12:42 -07: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
a12f028de4
Wire up limit and offset per series.
...
Fixes #1709 and fixes #1103
2015-03-09 19:17:03 -07:00
Paul Dix
8d2abc5c86
Add Slimit and Soffset. Update tests and behavior to use those.
2015-03-09 18:46:05 -07:00
David Norton
a032d77fa9
influxql: make walkFunctionCalls a func not method
2015-03-09 20:03:49 -04:00
David Norton
759838b5a0
influxql: make walkNames a func instead of a method
2015-03-09 19:59:03 -04:00
Paul Dix
3628fbe7cd
Updates based on PR feedback
2015-03-09 16:32:55 -07:00
Paul Dix
08ecaabc16
Fix decodes on multiple fields. Remove debug info. Update tests to match new query engine output.
2015-03-09 11:17:36 -07:00
Paul Dix
eca4af5514
Wire ip limits, fix server_test, remove warns
2015-03-07 16:30:42 -08:00
Paul Dix
0b98d6e1d2
WIP: wired up math processing on queries
2015-03-07 15:29:57 -08:00
Paul Dix
93f3a229c6
Fix merge conflicts
2015-03-06 16:30:26 -08:00
Paul Dix
df3c0099e1
WIP: wire up raw queries
2015-03-06 11:23:58 -08: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
09e1710dc9
fix #1799 : update INFLUXQL.md for regex changes
2015-03-03 09:32:15 -05:00
David Norton
9d6d36f2e9
fix #1799 : change regex delim to '/' & RHS only
2015-03-03 09:32:15 -05:00