Commit Graph

19 Commits (5f314d80e7fcd6044f5cac0d8a3d64dbc41ef204)

Author SHA1 Message Date
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
Philip O'Toole 42b4a0b8bf string return is totally unused 2015-07-22 02:55:13 -07:00
Philip O'Toole 45dcf9960c Optimize the very inner loop of cursor iteration
This change moves tracking of next timestamp and values to simple
slices, as performance measurement showed that Peek() on TagSet cursors
was a huge performance drain. There is much more that can be done here,
but with this in place query performance has been restored to 0.9.1
levels.

This change also uses -1 to indicate that no value is available for a
given timestamp.
2015-07-22 02:55:09 -07:00
Philip O'Toole 7ff2fdfcb4 Initialize influxql test data 2015-06-09 22:38:11 -07:00
Ben Johnson 8c8a55a737 Removed 'failed' from test suite. 2015-05-30 08:59:27 -06:00
Ben Johnson 6677ea074f more services, more test fixes, getting closer... 2015-05-29 14:59:57 -06:00
Cory LaNou ca11be338f add MapCountDistinct/ReduceCountDistinct function tests 2015-05-19 12:29:39 -06:00
Levi Cook e8b0484859 MapDistinct return nil on empty input and TestReduceDistinct 2015-05-19 09:16:20 -06:00
Levi Cook 8d4c36c9f6 MapDistinct and distinctValues sort tests 2015-05-19 09:16:20 -06:00
Jason Wilder 98521b273e Add non_negative_derivative
Fixes #1477
2015-05-13 15:57:48 -06:00
Jason Wilder 7fd9a0acd3 Add validation for derivative arguments
Derivative must be of the form derviative(field, duration) or
derivative(agg(field), duration).
2015-05-13 15:35:42 -06:00
Jason Wilder 9c0584325f Add support for parsing derivative w/ nested functions 2015-05-13 15:35:42 -06:00
ben hockey 9a3c28748c change timestamp to time 2015-05-11 12:28:47 -05:00
ben hockey e20444fe45 add some tests for getSortedRange and improve efficiency of partitioning 2015-05-04 16:59:39 -05:00
ben hockey ce54004961 normalize Call.Name to be lowercase 2015-05-01 12:05:55 -05:00
Jason Wilder 8174f6fb05 Fix panic: interface conversion: interface is nil, not []interface {}
Fixes #2374
2015-04-23 11:18:19 -06:00
Jason Wilder 155adb7d24 Fix panic: runtime error: index out of range
Fixes #2374
2015-04-23 11:18:19 -06:00
Jason Wilder d0cc98356b Fix error calling MarshalJSON for type *influxdb.Result: json: unsupported value: NaN
If the MapMean did not have any values in the iterator, it would return
and empty meanMapOutput().  ReduceMean would in turn divider the results
by an unitialized float64 producing a NaN.  NaN is not serializable to JSON
by default.
2015-04-23 11:18:19 -06:00