We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c6555d + 19ccfa0 commit 768583eCopy full SHA for 768583e
db/clickhouse/schema.sql
@@ -122,7 +122,7 @@ CREATE TABLE umami.website_event_stats_hourly
122
min_time SimpleAggregateFunction(min, DateTime('UTC')),
123
max_time SimpleAggregateFunction(max, DateTime('UTC')),
124
tag SimpleAggregateFunction(groupArrayArray, Array(String)),
125
- distinct_id,
+ distinct_id String,
126
created_at Datetime('UTC')
127
)
128
ENGINE = AggregatingMergeTree
@@ -213,7 +213,7 @@ FROM (SELECT
213
min(created_at) min_time,
214
max(created_at) max_time,
215
arrayFilter(x -> x != '', groupArray(tag)) tag,
216
- distinct_id String,
+ distinct_id,
217
toStartOfHour(created_at) timestamp
218
FROM umami.website_event
219
GROUP BY website_id,
0 commit comments