This commit is contained in:
Daniel García Aubert 2017-12-12 15:54:36 +01:00
parent d4d32bdfa3
commit ae35acd21d

View File

@ -88,7 +88,7 @@ const aggregationQueryTemplates = {
FROM _cdb_clusters, _cdb_params FROM _cdb_clusters, _cdb_params
`, `,
'point-sample-': ctx => ` 'point-sample': ctx => `
WITH _cdb_params AS ( WITH _cdb_params AS (
SELECT SELECT
(${ctx.res*0.00028/256}*!scale_denominator!)::double precision AS res, (${ctx.res*0.00028/256}*!scale_denominator!)::double precision AS res,