Cory LaNou
7de477889b
validate arguments for aggregate functions
2015-05-19 12:29:39 -06:00
Jason Wilder
34007a8be9
Make duration argument optional for derivatives
...
If it's not specified, it defaults to 1s for raw queries and to the
group by duration on group by queries.
2015-05-14 16:13:04 -06:00
Jason Wilder
faa099a382
Fix code review comments
2015-05-14 15:45:57 -06:00
Jason Wilder
98521b273e
Add non_negative_derivative
...
Fixes #1477
2015-05-13 15:57:48 -06:00
Paul Dix
74e6f1f4db
WIP: query language refactoring compiles. mores soon
2015-03-01 22:37:09 -08:00
Paul Dix
4cd3494ddc
Update interface on iterator.Next() to pass raw data along with key and value
2015-02-14 17:12:38 -05:00
Cory LaNou
3dd53ebe80
wire up spread function
2015-02-12 09:39:41 -07:00
Cory LaNou
ecb145d15d
fix test
2015-02-11 16:06:49 -07:00
Cory LaNou
2e93fcef53
fixing test comment
2015-02-11 16:06:09 -07:00
Cory LaNou
9e80b2173a
Wire up first/last aggregate functions
2015-02-11 15:55:51 -07:00
Cory LaNou
007dd83b9a
tests for stadard deviation
2015-02-11 12:33:45 -07:00
Cory LaNou
d0873a9b15
wire up max fix #1474
2015-02-10 16:14:22 -07:00
Cory LaNou
eb845b1ecc
return nil instead of 0 if there is nothing to reduce, additional zero test
2015-02-10 13:35:55 -07:00
Cory LaNou
b17af5d7d5
more testing
2015-02-10 12:47:30 -07:00
Cory LaNou
4228635bf1
wire up min
2015-02-10 12:10:37 -07:00
Cory LaNou
55cc5cfa09
sending all time back as RFC3339Nano instead of UnixNano (int64)
2015-02-03 16:55:33 -07:00
Cory LaNou
37f62dbe71
We now store in nanoseconds and send back nanosecond values
2015-02-02 14:08:13 -07:00
Paul Dix
a4e32eb8e6
Fix raw data query test.
2015-01-27 20:26:32 -05:00
Paul Dix
7052fcdde9
WIP: add raw data points query, refactor mapper and iterator
...
Refactors the mapper to only take a single iterator. This will also make it so that we have many mappers (one per shard) that get properly reduced so order comes through correctly.
2015-01-27 20:26:32 -05:00
Paul Dix
7c4a79248d
Add percentile aggregate function
2015-01-27 20:26:32 -05:00
Paul Dix
8148259bfc
Add mean aggregate function
2015-01-27 20:26:32 -05:00
Ben Johnson
1eda0ffcb9
Refactoring query engine.
2015-01-27 20:26:31 -05:00
Ben Johnson
d340ffcf3c
Expression expansion and reduction.
2015-01-27 20:26:31 -05: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
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
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
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
d69691e6c5
Refactor planner.
2014-12-09 08:45:29 -07:00
Ben Johnson
c77191b282
Rebuilding engine in influxql.
2014-12-07 22:08:39 -07:00