Use template string for nullsQueryTpl
This commit is contained in:
parent
151bdec1fd
commit
f1018f3272
@ -124,14 +124,14 @@ const overrideBinsQueryTpl = ctx => `
|
||||
)
|
||||
`;
|
||||
|
||||
var nullsQueryTpl = dot.template([
|
||||
'__cdb_nulls AS (',
|
||||
' SELECT',
|
||||
' count(*) AS __cdb_nulls_count',
|
||||
' FROM ({{=it._query}}) __cdb_histogram_nulls',
|
||||
' WHERE {{=it._column}} IS NULL',
|
||||
')'
|
||||
].join('\n'));
|
||||
const nullsQueryTpl = ctx => `
|
||||
__cdb_nulls AS (
|
||||
SELECT
|
||||
count(*) AS __cdb_nulls_count
|
||||
FROM (${it._query}) __cdb_histogram_nulls
|
||||
WHERE ${it._column} IS NULL
|
||||
)
|
||||
`;
|
||||
|
||||
var infinitiesQueryTpl = dot.template([
|
||||
'__cdb_infinities AS (',
|
||||
|
Loading…
Reference in New Issue
Block a user