fix: broken sql queries for expanded metrics

This commit is contained in:
Dj 2025-11-26 02:54:10 -05:00 committed by GitHub
parent a19b92a5cb
commit 17c66c10c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ async function relationalQuery(
sum(${getTimestampDiffSQL('t.min_time', 't.max_time')}) as "totaltime"
from (
select
${column} name,
${column} as name,
website_event.session_id,
website_event.visit_id,
count(*) as "c",

View file

@ -86,7 +86,7 @@ async function relationalQuery(
sum(${getTimestampDiffSQL('t.min_time', 't.max_time')}) as "totaltime"
from (
select
${column} name,
${column} as name,
website_event.session_id,
website_event.visit_id,
count(*) as "c",

View file

@ -65,7 +65,7 @@ async function relationalQuery(
sum(${getTimestampDiffSQL('t.min_time', 't.max_time')}) as "totaltime"
from (
select
${column} name,
${column} as name,
${includeCountry ? 'country,' : ''}
website_event.session_id,
website_event.visit_id,