56 Commits

Author SHA1 Message Date
8e4db8cc3a suggest operators depending on datatype 2018-08-17 10:38:23 +02:00
28f97a2450 update persisted parts on param change 2018-08-16 13:23:38 +02:00
e84a1cbcc5 persist datatype information 2018-08-16 12:50:32 +02:00
8ced29a0e7 Don't do value suggestions for numeric and timestamp 2018-08-16 11:48:36 +02:00
6d8ad3b076 require postgres 9.4+ for ordered set aggregate functions 2018-08-14 15:49:37 +02:00
c90eb45cef only show first/last aggregate when timescaledb is enabled 2018-08-14 15:29:29 +02:00
c9bbdf244c get timecolumn datatype on timecolumn change 2018-08-13 11:29:35 +02:00
6d07d825e9 dont break default parameters for functions 2018-08-03 18:38:40 +02:00
dabfd88cd9 add moving average to query builder 2018-08-03 07:44:36 +02:00
7e9c9199c1 add warning when switching from raw sql mode 2018-08-02 10:15:53 +02:00
ace999b13f rename special to windows 2018-07-29 15:56:22 +02:00
26ea88252b add first and last support 2018-07-29 15:00:13 +02:00
412bb6acab refactor function handling in query builder 2018-07-29 13:31:50 +02:00
5327580939 refactor column function handling 2018-07-28 21:41:23 +02:00
6ca7a03975 consistent nameing fro group and select 2018-07-28 12:53:36 +02:00
97f24733f5 remove tableschema from query builder ui 2018-07-27 10:58:08 +02:00
9f0b4e0aa7 add groupby when adding first aggregate 2018-07-18 13:29:47 +02:00
b28bf1a4f9 rename PostgresQueryBuilder to PostgresMetaQuery 2018-07-15 17:12:03 +02:00
2fcb09b23d filter datatype for groupby suggestions 2018-07-15 16:23:47 +02:00
f85c9c012e refactor adding sqlPart 2018-07-15 12:26:22 +02:00
f48060a1bb remove render code from sql_part 2018-07-15 09:53:22 +02:00
fa66645b0f refactor PostgresQuery 2018-07-15 09:36:49 +02:00
844beb660d refactor PostgresQueryCtrl 2018-07-14 21:00:06 +02:00
d7ed706e12 refactor PostgresQueryCtrl and PostgresQuery 2018-07-14 20:28:34 +02:00
b745fab190 add tests for query generation 2018-07-13 22:29:10 +02:00
2784a2df6b Refactor value column SQL generation 2018-07-11 13:03:06 +02:00
c8a11d597f prepare sql part for special functions 2018-07-10 21:43:57 +02:00
5b5dcabd22 add None to metric column suggestions 2018-07-07 21:21:11 +02:00
b2b4860bdb refactor transformToSegments 2018-07-07 19:43:21 +02:00
7600c6efcb remove hardcoded $__timeFilter, make macros functional in where clause 2018-07-06 10:38:52 +02:00
85ab1cfa8f fix constraint removal 2018-07-06 09:28:34 +02:00
c604651092 fix group by ui 2018-07-05 10:19:22 +02:00
3595436614 fix where constraint handling 2018-07-04 18:57:55 +02:00
fee36b2b35 include where constraints in query generation 2018-07-04 12:22:45 +02:00
410449b5e7 use sqlPart for ui parts 2018-06-30 11:11:34 +02:00
d6ac7aee89 remove unused import 2018-03-26 18:50:03 +02:00
6c2ef7dca6 handle aggregate functions more generic 2018-03-26 18:34:40 +02:00
12600a0e95 support non-nested menu entries 2018-03-26 13:19:14 +02:00
46c229188e read aggregate functions from database 2018-03-14 23:03:32 +01:00
b7c7030a46 add regex operators 2018-03-13 23:06:39 +01:00
e780b1bce5 cleanup where segment handling 2018-03-11 12:06:54 +01:00
0b358ff5f3 remove limit 2018-03-10 22:39:42 +01:00
cb5278d413 handle variables in where constraints 2018-03-10 20:18:03 +01:00
bf4a30d30f set rawSQL when rendering query builder query 2018-03-04 19:46:11 +01:00
26e09b598c fix group by column 2018-03-04 19:35:43 +01:00
7104e6f9f8 fix variable interpolation 2018-03-03 22:11:51 +01:00
fd518846b1 rename field to column 2018-03-03 20:57:00 +01:00
ef18eb7fcb add where constraint handling 2018-02-08 10:25:32 +01:00
382a525477 make metricColumn functional 2018-02-03 18:26:57 +01:00
4dbd83fac1 add groupby to querybuilder
remove unused aggregations
2018-01-31 15:32:32 +01:00