mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Removed output parsing for clickhouse.
This commit is contained in:
parent
592708eafd
commit
7a0575e33a
9 changed files with 20 additions and 51 deletions
|
|
@ -40,7 +40,7 @@ async function relationalQuery(
|
|||
let entryExitQuery = '';
|
||||
let excludeDomain = '';
|
||||
if (column === 'referrer_domain') {
|
||||
excludeDomain = `and website_event.referrer_domain != {{websiteDomain}}
|
||||
excludeDomain = `and website_event.referrer_domain != website_event.hostname
|
||||
and website_event.referrer_domain is not null`;
|
||||
}
|
||||
|
||||
|
|
@ -175,9 +175,5 @@ async function clickhouseQuery(
|
|||
`;
|
||||
}
|
||||
|
||||
return rawQuery(sql, params).then((result: any) => {
|
||||
return Object.values(result).map((a: any) => {
|
||||
return { x: a.x, y: Number(a.y) };
|
||||
});
|
||||
});
|
||||
return rawQuery(sql, params);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue