Commit Graph

108 Commits (b745fab190f904af9b538105ac6ac83dba18bedc)

Author SHA1 Message Date
Sven Klemm b745fab190 add tests for query generation 8 years ago
Sven Klemm 17591ca29f fix tests for postgres datasource 8 years ago
Sven Klemm 693efda4d5 send timerange with metricFindQuery 8 years ago
Sven Klemm bf21f1bf76 indent generated SQL 8 years ago
Sven Klemm a24a6624e3 handle counter overflow and resets in rate 8 years ago
Sven Klemm 0935526d23 partition by metricColumn when using increase 8 years ago
Sven Klemm bbe7b9b908 add rate and increase special functions 8 years ago
Sven Klemm 2784a2df6b Refactor value column SQL generation 8 years ago
Sven Klemm 9ba42f63f1 Refactor metric column sql generation 8 years ago
Sven Klemm a86e77fc68 Refactor group by query generation 8 years ago
Sven Klemm b9edc3c611 Refactor where clause generation 8 years ago
Sven Klemm 5dd236bf05 refactor SQL generation for value columns 8 years ago
Sven Klemm 772825ed09 Refactor time column sql generation 8 years ago
Sven Klemm c5bde0ef45 Refactor render function on PostgresQuery 8 years ago
Sven Klemm c8a11d597f prepare sql part for special functions 8 years ago
Sven Klemm 0e610cad1b set query gui as default handle old panels gracefully 8 years ago
Sven Klemm 9d5b4cb91d dont throw exception for unknown types 8 years ago
Sven Klemm e8e24f6139 add alias when adding group by 8 years ago
Sven Klemm 6e7161f238 add aggregates when adding group by 8 years ago
Sven Klemm dc93055a10 add column alias when add aggregate function 8 years ago
Sven Klemm 5b5dcabd22 add None to metric column suggestions 8 years ago
Sven Klemm 8490ae41b6 handle pre query gui queries gracefully 8 years ago
Sven Klemm eb170e741b dont break on panels that dont have rawQuery set 8 years ago
Sven Klemm b2b4860bdb refactor transformToSegments 8 years ago
Sven Klemm e4b4b3a772 rename quoteLiteral to quoteIdentAsLiteral 8 years ago
Sven Klemm a63298bca2 remove unused function removeSelect 8 years ago
Sven Klemm 6143924ec6 fix where clause generation 8 years ago
Sven Klemm 7600c6efcb remove hardcoded $__timeFilter, make macros functional in where clause 8 years ago
Sven Klemm 85ab1cfa8f fix constraint removal 8 years ago
Sven Klemm d8c7756489 dont autoquote, suggest quoted values if requried 8 years ago
Sven Klemm 3f614e635b do not autoquote identifiers 8 years ago
Sven Klemm c604651092 fix group by ui 8 years ago
Sven Klemm 3595436614 fix where constraint handling 8 years ago
Sven Klemm 7d30ca04de remove dead code from sql_part 8 years ago
Tobias Skarhed 74bf80962d Add mock to test files 8 years ago
Tobias Skarhed 962340bcd1 Create new instance in beforeEach 8 years ago
Tobias Skarhed 3bbe39c5ad Karma to Jest: postgres datasource 8 years ago
Sven Klemm fee36b2b35 include where constraints in query generation 8 years ago
Sven Klemm ced0a5828f rearrange elements of query builder 8 years ago
Sven Klemm 9847c2186f mv query_part to sql_part 8 years ago
Sven Klemm 410449b5e7 use sqlPart for ui parts 8 years ago
Sven Klemm 17b46804e8 remove unused function renderAdhocFilters 8 years ago
Sven Klemm 8b47d7c520 set style for registered query components 8 years ago
Sven Klemm a5bcd8eac0 fix metric column when using group by 8 years ago
Sven Klemm 3af4e4e0d6 separate label in template from type 8 years ago
Sven Klemm e93276b1f8 use sql part component 8 years ago
Sven Klemm de9a117dc6 use sql part component 8 years ago
Sven Klemm b12d049f6f quote column name in buildValueQuery 8 years ago
Sven Klemm 731c7520b3 return values quotes for suggestions in where expression 8 years ago
Marcus Efraimsson 3a5d1f4594
tsdb: update query and annotation editor help texts for postgres 8 years ago