Fix undefined argument

This commit is contained in:
Daniel García Aubert 2017-09-05 15:51:31 +02:00
parent 7ea6b3e371
commit 734cfa6d83

View File

@ -128,8 +128,8 @@ const nullsQueryTpl = ctx => `
__cdb_nulls AS (
SELECT
count(*) AS __cdb_nulls_count
FROM (${it._query}) __cdb_histogram_nulls
WHERE ${it._column} IS NULL
FROM (${ctx._query}) __cdb_histogram_nulls
WHERE ${ctx._column} IS NULL
)
`;