Do not filter special values out if aggregation column is not defined
This commit is contained in:
parent
227937bf4c
commit
3ae66e4143
@ -11,12 +11,14 @@ var filteredQueryTpl = dot.template([
|
|||||||
' FROM ({{=it._query}}) _cdb_filtered_source',
|
' FROM ({{=it._query}}) _cdb_filtered_source',
|
||||||
' WHERE',
|
' WHERE',
|
||||||
' {{=it._column}} IS NOT NULL',
|
' {{=it._column}} IS NOT NULL',
|
||||||
|
' {{?it._aggregationColumn}}',
|
||||||
' AND',
|
' AND',
|
||||||
' {{=it._aggregationColumn}} != \'infinity\'::float',
|
' {{=it._aggregationColumn}} != \'infinity\'::float',
|
||||||
' AND',
|
' AND',
|
||||||
' {{=it._aggregationColumn}} != \'-infinity\'::float',
|
' {{=it._aggregationColumn}} != \'-infinity\'::float',
|
||||||
' AND',
|
' AND',
|
||||||
' {{=it._aggregationColumn}} != \'NaN\'::float',
|
' {{=it._aggregationColumn}} != \'NaN\'::float',
|
||||||
|
' {{?}}',
|
||||||
')'
|
')'
|
||||||
].join(' \n'));
|
].join(' \n'));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user