Date histogram: Add missing GROUP BY column

This commit is contained in:
Raul Marin 2017-12-05 16:25:36 +01:00 committed by Raúl Marín
parent eb4a49ec92
commit 7c5b7641d8

View File

@ -56,7 +56,7 @@ __wd_buckets AS
${ctx.query} ${ctx.query}
) __source, __wd_tz ) __source, __wd_tz
${condition_str} ${condition_str}
GROUP BY timestamp GROUP BY timestamp, __wd_tz.name
),`; ),`;
} }