mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #369 from jbripley/influxdb-columnname-escape
Change InfluxDB SQL generation template to wrap column names in quoutes
This commit is contained in:
@@ -62,7 +62,7 @@ function (angular, _, kbn) {
|
||||
query = queryElements.join(" ");
|
||||
}
|
||||
else {
|
||||
var template = "select [[func]]([[column]]) as [[column]]_[[func]] from [[series]] " +
|
||||
var template = "select [[func]](\"[[column]]\") as \"[[column]]_[[func]]\" from [[series]] " +
|
||||
"where [[timeFilter]] [[condition_add]] [[condition_key]] [[condition_op]] [[condition_value]] " +
|
||||
"group by time([[interval]]) order asc";
|
||||
|
||||
|
Reference in New Issue
Block a user