Cory LaNou
6ffd38f02b
Merge pull request #4084 from influxdb/issue-3718
...
Derivative query with group by time but no aggregate function validation
2015-09-11 14:25:14 -05:00
Cory LaNou
91d833efeb
Derivative query with group by time but no aggregate function should fail parse. Fixes #3718
2015-09-11 14:16:29 -05:00
Daniel Morsing
66fc270d1e
Move aggregate funcs into tsdb
...
Pure move, No functional changes.
2015-09-11 14:27:47 +00:00
Cory LaNou
7f2ba8155a
removing unecessary continues
2015-09-10 13:10:21 -05:00
Cory LaNou
05f69b3d6c
Validate Dimension for proper time scenarios. Fixes #3902
2015-09-10 13:10:21 -05:00
Cory LaNou
59ef75a183
Allow wildcards without abandon! Fixes #3978
2015-09-09 15:27:15 -05:00
Cory LaNou
a09e2c27bb
minor tweaks based on PR review
2015-09-04 13:41:46 -05:00
Cory LaNou
fa4415b3a4
refactor processing top/bottom results. clarify some comments
2015-09-04 13:30:43 -05:00
Cory LaNou
bdc54cf5d2
helpers -> pkg + readme
2015-09-04 13:30:43 -05:00
Cory LaNou
6a3bedc0e1
add additional parser test for top function with tags
2015-09-04 13:30:42 -05:00
Cory LaNou
9ab3d89c06
bucketTime* -> tMin*
2015-09-04 13:30:42 -05:00
Cory LaNou
4a9e936858
minor comment fix
2015-09-04 13:30:42 -05:00
Cory LaNou
3ca93594c3
BucketTime -> TMin
2015-09-04 13:30:42 -05:00
Cory LaNou
b71833ab46
refactor allowMixedAggregates, comment cleanup
2015-09-04 13:30:42 -05:00
Cory LaNou
88ce04a4b9
move comment to proper line
2015-09-04 13:30:42 -05:00
Cory LaNou
9703467171
refactor validateAggregates
2015-09-04 13:30:41 -05:00
Cory LaNou
3db5a85139
all tests passing for top
2015-09-04 13:30:41 -05:00
Cory LaNou
347ffc70b4
wire up advanced top sorting/slicing
2015-09-04 13:30:41 -05:00
Cory LaNou
8c4595b345
top is coming together. filling out fields properly
2015-09-04 13:30:41 -05:00
Cory LaNou
ba79007960
wip
2015-09-04 13:30:41 -05:00
Cory LaNou
6f7eca9778
correcting sort behavior for top
2015-09-04 13:30:40 -05:00
Cory LaNou
046282249a
wip remapping top output
2015-09-04 13:30:40 -05:00
Cory LaNou
d060f3aba9
move all aggregate validations to the parser validation from map/reduce functions
2015-09-04 13:30:40 -05:00
Cory LaNou
c5358dcd2a
always sort results for ReduceTop. Skip test until we verify expected behavior
2015-09-04 13:30:40 -05:00
Cory LaNou
b45872c1ac
first pass at ReduceTop
2015-09-04 13:30:40 -05:00
Cory LaNou
6b005af731
change ReducePercentile signature
2015-09-04 13:30:40 -05:00
Cory LaNou
e6de6d0887
change percentile to check errors in parsing, not in mapping
2015-09-04 13:30:40 -05:00
Cory LaNou
f8d486f99c
maptop bool test
2015-09-04 13:30:40 -05:00
Cory LaNou
52cb46fc56
mixed maptop test with strings
2015-09-04 13:30:40 -05:00
Cory LaNou
dd278a10f6
add test for mixed numerics and fix infer
2015-09-04 13:30:39 -05:00
Cory LaNou
193fd501db
first pass at MapTop. more testing to come
2015-09-04 13:30:39 -05:00
Cory LaNou
72fd115dc2
exposing tags on cursors, top/bottom are valid funcs now
2015-09-04 13:30:39 -05:00
Jason Wilder
d466533f20
Return a parse error for order by anything other than time
...
Order by time asc and desc are the only supported order by options
currently. Tags, fields, or multiple order by fields will return
a parse error.
2015-09-03 22:31:58 -06:00
Jason Wilder
04a20566c1
Allow order by desc in parser
2015-09-03 22:28:35 -06:00
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
6e6b5c4e70
remove debugging statements
2015-09-03 07:12:15 -04:00
David Norton
dc968eae59
fix #255 : revert Measurement parent
2015-09-03 07:12:15 -04:00
David Norton
816c5f5368
fix #2555 : don't normalize target names
2015-09-03 07:12:15 -04: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
Daniel Morsing
c4092d7fc3
Revert "move aggregate functions"
2015-09-02 10:47:58 -07:00
Daniel Morsing
65340a023b
Move aggregate funcs into tsdb
...
Pure move, No functional changes.
2015-09-01 14:25:59 -07:00
Paul Dix
040fa060df
Add more detailed logging for compactions
2015-09-01 09:52:20 -04:00
Daniel Morsing
841e6fc6b5
Merge pull request #3908 from influxdb/firstopt
...
only look at the first value for first()
2015-08-31 14:21:29 -07:00
Daniel Morsing
8ca8293d11
only look at the first values for first()
...
Since we set up the aggregate queries so that iterator is ordered,
we only need to look at the first value. This cuts about 10 seconds
off a large single series query running first.
2015-08-31 13:43:28 -07:00
Philip O'Toole
78170bd798
Parse multiple tokens at once (NOT EXISTS)
2015-08-29 09:56:15 -07:00
Philip O'Toole
5ae004d062
Update INFLUXQL keywords
...
[ci skip]
2015-08-29 09:56:15 -07:00
Philip O'Toole
1228c985ea
Parser support for CREATE DATABASE IF NOT EXISTS
2015-08-28 19:04:50 -07:00
David Norton
3c45838c10
update INFLUXQL.md
2015-08-27 08:38:16 -04:00
Philip
45cc51edfe
During first() and last(), break any tie by value
...
If 2 or more points during this map-and-reduce share the same timestamp,
the tie is broken by looking at the value. This ensures that these
functions operate in a deterministic manner.
This solution due to @jwilder
2015-08-25 22:26:03 -07:00
Philip O'Toole
e032242d83
Refine implementation, sole time is invalid
2015-08-21 12:14:53 -07:00