8000 Event UUIDs are not unique · Issue #30692 · PostHog/posthog · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Event UUIDs are not unique #30692
Open
Open
@isAdrisal

Description

@isAdrisal

Bug Description

Events in PostHog (Cloud) have a uuid field. Presumably, this is intended to be a unique value. However, at least in our instance it's not.

Some rough calculations show that around 0.7% of our event UUIDs appear more than once with other events.

Practically, this means when joining on uuid only in sql queries, duplicate rows are returned where they shouldn't.

How to reproduce

See screenshots, or run this query.

select
    uuid,
    count() as uuid_count
from events
group by uuid
order by uuid_count desc

Additional context

Image Image

Debug info

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/0195f5c1-8d84-7fd9-8dfe-7c98353c6079?t=10777
Admin: http://go/adminOrgUS/018a1aa0-fba1-0000-7c63-3525ad2656c8 (project ID 34169)
Sentry: http://go/sentryUS/34169

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No b 2B47 ranches or pull requests

    Issue actions

      0