Commit 869e3699 by Marcus Efraimsson Committed by GitHub

Merge pull request #13427 from svenklemm/postgres-suggest-null-fix

filter NULL values in column value suggestion query
parents 5cf0fb49 9dbdc291
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment