mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
fix hourly order by
This commit is contained in:
parent
61dfa1391e
commit
57a23bab2d
@ -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…
x
Reference in New Issue
Block a user