Remove bad condition

This commit is contained in:
Daniel García Aubert 2017-06-13 09:44:53 +02:00
parent 3ae66e4143
commit 551b6d409a

View File

@ -9,10 +9,8 @@ var filteredQueryTpl = dot.template([
'filtered_source AS (',
' SELECT *',
' FROM ({{=it._query}}) _cdb_filtered_source',
' WHERE',
' {{=it._column}} IS NOT NULL',
' {{?it._aggregationColumn}}',
' AND',
' WHERE',
' {{=it._aggregationColumn}} != \'infinity\'::float',
' AND',
' {{=it._aggregationColumn}} != \'-infinity\'::float',