filter NULL values for column value suggestions

This commit is contained in:
Sven Klemm 2018-09-26 10:56:25 +02:00
parent 8b5aefae26
commit 9dbdc29118

View File

@ -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;
}