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',
|
||||
' WHERE',
|
||||
' {{=it._column}} IS NOT NULL',
|
||||
' {{?it._aggregationColumn}}',
|
||||
' AND',
|
||||
' {{=it._aggregationColumn}} != \'infinity\'::float',
|
||||
' AND',
|
||||
' {{=it._aggregationColumn}} != \'-infinity\'::float',
|
||||
' AND',
|
||||
' {{=it._aggregationColumn}} != \'NaN\'::float',
|
||||
' {{?}}',
|
||||
')'
|
||||
].join(' \n'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user