69 Commits

Author SHA1 Message Date
7a5b5906ed fix quoting 2018-08-29 12:24:28 +02:00
bfac6303d0 strip quotes when auto adding alias 2018-08-29 12:16:07 +02:00
955e5afa45 recheck timecolumn when changing table 2018-08-29 09:51:01 +02:00
84ec1ce624 update filter macro on time column change 2018-08-29 09:04:33 +02:00
30fce34d9c make default mode for table panels raw editor 2018-08-28 12:10:55 +02:00
7177f19436 Merge branch 'master' into postgres-query-builder 2018-08-27 11:23:55 +02:00
9b978b7203 tslint: autofix of let -> const (#13033) 2018-08-26 17:14:40 +02:00
21e7b0b92d add min interval to postgres datasource 2018-08-25 18:14:39 +02:00
02c5d36c0b fix tableSegment and timeColumnSegment after table suggestion 2018-08-21 20:12:45 +02:00
49319fbdea prefill editor with first metric table 2018-08-18 13:21:08 +02:00
ff2564900f only allow 1 filter macro in where clause 2018-08-18 12:34:19 +02:00
c1890dbb6d fix timeColumnType assignment 2018-08-18 12:28:05 +02:00
9699d7a166 make suggested filter macro depend on type 2018-08-18 12:11:10 +02:00
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