Remove is_wide from Clickhouse events

This commit is contained in:
Konstantin Wohlwend 2026-01-28 11:34:56 -08:00
parent c075621074
commit 3f3717597b
2 changed files with 0 additions and 6 deletions

View File

@ -92,9 +92,6 @@ const createClickhouseRow = (event: EventWithIpInfo) => {
refreshTokenId,
isAnonymous,
ipInfo,
is_wide: event.isWide,
event_started_at: event.eventStartedAt,
event_ended_at: event.eventEndedAt,
};
return {

View File

@ -208,9 +208,6 @@ export async function logEvent<T extends EventType[]>(
const eventTypesArray = [...allEventTypes];
const clickhouseEventData = {
...data as Record<string, unknown>,
is_wide: isWide,
event_started_at: timeRange.start,
event_ended_at: timeRange.end,
};
const dataRecord = data as Record<string, unknown> | null | undefined;
const projectId = typeof dataRecord === "object" && dataRecord && typeof dataRecord.projectId === "string" ? dataRecord.projectId : "";