Commit Graph
25 Commits
Author SHA1 Message Date
Raul Marin 418f5faa11 Date histogram: Reduce the threshold to change in auto mode to 100 2017-12-19 12:09:14 +01:00
Raul Marin bba6db9dbf Date histogram: Add second, decade, century and millenium aggregations 2017-12-19 12:09:14 +01:00
Raul Marin 7c5b7641d8 Date histogram: Add missing GROUP BY column 2017-12-11 11:27:13 +01:00
Raul Marin 1b405e42c2 Date histogram optimizations 2017-12-11 11:27:13 +01:00
Raul Marin 088a8b81a6 Timeseries tests: Set timestamps to the start of the aggregations
Also, increase the end of the range check so it includes some data
2017-12-11 11:27:13 +01:00
Raul Marin fcbf5ffcc5 Move sql helper functions to query-utils.js 2017-12-11 11:27:13 +01:00
Raul Marin 90c9ad18e0 Optimize histogram queries 2017-12-11 11:27:13 +01:00
Daniel García Aubert 4a89ad57d7 Remove '_' as prefix for template's context properties 2017-09-12 13:05:46 +02:00
Daniel García Aubert c0cfdad7d1 Use hasOwnProperty method to check if histogram is a time-series 2017-09-12 10:38:53 +02:00
Daniel García Aubert 8f797c3c41 Fix EOF 2017-09-12 10:16:16 +02:00
Daniel García Aubert 2576c3e7d5 Rename _shouldOverrideRange & _shouldOverrideBins methods 2017-09-12 10:14:55 +02:00
Daniel García Aubert 3a936474cf Fix bad merge with master 2017-09-11 19:48:46 +02:00
Daniel García Aubert 03babcb43b Simplify condition and remove unused method 2017-09-11 19:31:38 +02:00
Daniel García Aubert 9aa5a9e850 Improve comment 2017-09-11 19:26:28 +02:00
Daniel García Aubert e3bffcd39d Use inline functions to filter desired fields of the row 2017-09-11 19:24:01 +02:00
Daniel García Aubert 5fc2b46d56 Fix bad condition 2017-09-11 19:14:11 +02:00
Daniel García Aubert 7c69240748 Use parameter default value 2017-09-11 19:10:06 +02:00
Daniel García Aubert ee43378c68 Use arrow function 2017-09-11 19:09:05 +02:00
Daniel García Aubert 09981c2560 Extract method to check valid aggregation 2017-09-11 18:57:16 +02:00
Daniel García Aubert fd9534797c Minor refactors 2017-09-11 18:44:14 +02:00
Daniel García Aubert 38e7e71328 Implement template method pattern to format histogram query output 2017-09-11 17:19:02 +02:00
Daniel García Aubert ec23bfc79b Rename HistogramBase by BaseHistogram 2017-09-11 13:54:46 +02:00
Daniel García Aubert 6c3fa045cd Rename HistogramBase by BaseHistogram 2017-09-11 13:53:05 +02:00
Simon d75ee965ae changing some 'var' to 'let/const' 2017-09-11 11:48:33 +02:00
Simon 5e9b2e45c7 creating HistogramBase with the common functions of NumericHistogram and DateHistogram 2017-09-11 11:32:20 +02:00