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
Paul Dix
74e6f1f4db
WIP: query language refactoring compiles. mores soon
2015-03-01 22:37:09 -08:00
Paul Dix
889f0a323f
Fix problem with merging series that have unequal number of points in group by interval
2015-02-27 01:02:34 -05:00
Paul Dix
a8a0b9f24e
Fix raw data query where some values are null
...
I also removed the engine test for the raw planner. It's getting tested elsewhere and it would have been too difficult to make it work. Besides, that's getting replaced soon anyway.
2015-02-24 00:36:07 -05:00
Paul Dix
b69597f376
Fix queries that return raw data without aggregates.
2015-02-24 00:36:07 -05:00
Paul Dix
89b80dcd66
WIP: insane refactor of engine. Must come back later.
2015-02-23 18:07:01 -05:00
Paul Dix
6ed70ebbe3
WIP: fix for ordering of queries of raw values
2015-02-17 21:40:53 -05:00
Paul Dix
fec6764b09
WIP: wire up continuous queries
...
* Fix run to work with CQ broker
* Fix CQ handler
* Fix SetTimeRange to use RFC3339Nano
* Fix the time range tests
* Fix the parser to parse for RFC3339Nano literals in addition to the other format
* Add logic for running CQs
* Remove duplicate WriteBufferSize default setting from config
2015-02-17 21:02:18 -05:00
Philip O'Toole
dcdb4b77a1
Merge branch 'master' into support_all_value_types
...
Conflicts:
database.go
server.go
2015-02-16 09:21:10 -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
Paul Dix
b394fc203f
WIP: updating the signature for iterators to pass around raw bytes for field values.
2015-02-13 14:04:45 -05:00
Cory LaNou
aa7073bfb0
make the fields public to all for serializing them later
2015-02-12 15:12:14 -07:00
Cory LaNou
61d4cd6a5a
shortcut calculating spread if not necessary
2015-02-12 10:40:24 -07:00
Cory LaNou
7c12afb9e1
fixing comment
2015-02-12 09:56:39 -07:00
Cory LaNou
3dd53ebe80
wire up spread function
2015-02-12 09:39:41 -07:00
Cory LaNou
59a953db97
Merge pull request #1575 from influxdb/batch-std-dev
...
emit in batches of 1000
2015-02-11 18:19:39 -07:00
Cory LaNou
79fe16fb6c
add comment about why we batch
2015-02-11 16:03:01 -07:00
Cory LaNou
9e80b2173a
Wire up first/last aggregate functions
2015-02-11 15:55:51 -07:00
Cory LaNou
4b18ddedec
magic numbers are evil
2015-02-11 15:11:45 -07:00
Cory LaNou
5911b38e94
emit in batches of 1000
2015-02-11 15:00:39 -07:00
Cory LaNou
6b9ba8baef
check to see if we found values to calculate
2015-02-11 12:37:14 -07:00
Cory LaNou
d108af5a94
fix standard deviation calculation
2015-02-11 12:33:10 -07:00
Cory LaNou
bf0c4599ba
first pass at stddev. tests incoming
2015-02-11 11:21:55 -07:00
Cory LaNou
8421d59eb0
no more pointers, refactored min/max
2015-02-11 10:45:44 -07:00
Cory LaNou
fe864792b5
map should do more work locally before passing up to reduce
2015-02-11 09:35:47 -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
4228635bf1
wire up min
2015-02-10 12:10:37 -07:00
Cory LaNou
62df7152c6
wildcards are now supported
2015-02-09 19:59:13 -07:00
Andrew Watkins
6b68f53b10
Fail faster on not-yet-implemented wildcard query
...
Signed-off-by: Will Faurot <will@influxdb.com>
2015-02-09 14:37:52 -07:00
Paul Dix
c6e7a7f9ea
Fix mapper to check if the iterator is EOF before calling the map function
2015-02-07 06:29:04 -05:00
Cory LaNou
887fbd2054
spelling is hard
2015-02-03 17:02:41 -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
David Norton
a8b86dc29b
golint cleanup
2015-02-01 13:47:48 -05:00
Ben Johnson
0a73416e4d
Use the last ident segment for result names.
2015-01-28 03:57:38 -05: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
a6746b3a21
Remove MultiIterator.
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
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
2564933639
Add date-only parsing.
...
This commit changes the Parser to check for date-only formatted strings instead of only
datetime formatted strings.
2014-12-21 10:59:36 -07:00