mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
fix hourly order by
This commit is contained in:
parent
61dfa1391e
commit
57a23bab2d
1 changed files with 0 additions and 1 deletions
|
|
@ -101,7 +101,6 @@ CREATE TABLE umami.website_event_stats_hourly
|
||||||
ENGINE = AggregatingMergeTree
|
ENGINE = AggregatingMergeTree
|
||||||
PARTITION BY toYYYYMM(created_at)
|
PARTITION BY toYYYYMM(created_at)
|
||||||
ORDER BY (toStartOfDay(created_at), website_id, session_id, visit_id, created_at)
|
ORDER BY (toStartOfDay(created_at), website_id, session_id, visit_id, created_at)
|
||||||
PRIMARY KEY (toStartOfDay(created_at), website_id, session_id, visit_id)
|
|
||||||
|
|
||||||
CREATE MATERIALIZED VIEW umami.website_event_stats_hourly_mv
|
CREATE MATERIALIZED VIEW umami.website_event_stats_hourly_mv
|
||||||
TO umami.website_event_stats_hourly
|
TO umami.website_event_stats_hourly
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue