Removed output parsing for clickhouse.

This commit is contained in:
Mike Cao 2025-02-08 20:08:36 -08:00
parent 592708eafd
commit 7a0575e33a
9 changed files with 20 additions and 51 deletions

View file

@ -115,9 +115,5 @@ async function clickhouseQuery(
`;
}
return rawQuery(sql, params).then(a => {
return Object.values(a).map(a => {
return { x: a.x, y: Number(a.y), country: a.country };
});
});
return rawQuery(sql, params);
}