: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-modeling): remove unused get_columns call that can time out (#61927)
Jovan Sakovic928b927f631e
diff --git a/posthog/temporal/data_modeling/run_workflow.py b/posthog/temporal/data_modeling/run_workflow.pyindex 2adcc78206fd..8c0d9993bc74 100644--- a/posthog/temporal/data_modeling/run_workflow.py+++ b/posthog/temporal/data_modeling/run_workflow.py@@ -494,10 +494,6 @@ async def materialize_model("""await logger.ainfo(f"Starting materialization for model: label={model_label} name={saved_query.name}")- query_columns = saved_query.columns- if not query_columns:- query_columns = await database_sync_to_async(saved_query.get_columns)()-if not isinstance(saved_query.query, dict):raise ValueError(f"Saved query {saved_query.id} is missing its query payload")