mirror of
https://github.com/plausible/analytics.git
synced 2024-09-11 18:07:33 +03:00
Add order by to base query in 24h hourly intervals
This commit is contained in:
parent
05bcb79616
commit
a6be5e3026
@ -249,6 +249,7 @@ defmodule Plausible.Stats.Clickhouse do
|
||||
timestamp: min(e.timestamp),
|
||||
_sample_factor: e._sample_factor
|
||||
},
|
||||
order_by: [e.site_id, e.user_id],
|
||||
group_by: [e.site_id, e.user_id, e._sample_factor]
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user