mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 11:20:27 -06:00
filter NULL values for column value suggestions
This commit is contained in:
parent
8b5aefae26
commit
9dbdc29118
@ -144,6 +144,7 @@ table_schema IN (
|
||||
let query = 'SELECT DISTINCT quote_literal(' + column + ')';
|
||||
query += ' FROM ' + this.target.table;
|
||||
query += ' WHERE $__timeFilter(' + this.target.timeColumn + ')';
|
||||
query += ' AND ' + column + ' IS NOT NULL';
|
||||
query += ' ORDER BY 1 LIMIT 100';
|
||||
return query;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user