Increase resetWebsite timeout. fix retention bug returning decimal day_number in CH.

Closes #3698
This commit is contained in:
Francis Cao committed 2025-11-14 09:11:26 -08:00
1 parent a3f32b036d
commit cc8254985b
2 files changed
+26 -21

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ async function clickhouseQuery(
user_activities AS (
select distinct
website_event.session_id,
(${getDateSQL('created_at', unit, timezone)} - cohort_items.cohort_date) / 86400 as day_number
toInt32((${getDateSQL('created_at', unit, timezone)} - cohort_items.cohort_date) / 86400) as day_number
from website_event
join cohort_items
on website_event.session_id = cohort_items.session_id