:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(data-warehouse): use org id as distinct_id for dwh-postgres-cdc flag (#59938)
Daniel RC3ebd0dc9ad7d
diff --git a/products/data_warehouse/backend/data_load/service.py b/products/data_warehouse/backend/data_load/service.pyindex e6b3cb6b38e4..2dc756e74651 100644--- a/products/data_warehouse/backend/data_load/service.py+++ b/products/data_warehouse/backend/data_load/service.py@@ -274,7 +274,7 @@ def is_cdc_enabled_for_team(team: Team) -> bool:return posthoganalytics.feature_enabled("dwh-postgres-cdc",- str(team.uuid),+ str(team.organization_id),groups={"organization": str(team.organization_id)},group_properties={"organization": {"id": str(team.organization_id)}},)