Remove superfluous aggregation filter condition

The default aggregation doesn't admit filters, so this wasn't necessary.
This commit is contained in:
Javier Goizueta 2018-03-21 17:36:26 +01:00
parent ead6fa5f1f
commit b9de49d5ab

View File

@ -273,7 +273,6 @@ const defaultAggregationQueryTemplate = ctx => `
Floor(ST_X(_cdb_query.the_geom_webmercator)/_cdb_params.res),
Floor(ST_Y(_cdb_query.the_geom_webmercator)/_cdb_params.res)
${dimensionNames(ctx)}
${havingClause(ctx)}
) SELECT
_cdb_query.*
${aggregateColumnNames(ctx)}