: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
"""The ClickHouse tables core creates and migrates for this product.
Wiring, not data: `posthog/clickhouse/schema.py` builds these in a local or test ClickHouse, and
the migrations that created them apply the same definitions to a cluster.
"""
from products.cdp.backend.models.hog_invocation_results_sql import (
DISTRIBUTED_HOG_INVOCATION_RESULTS_TABLE_SQL as DISTRIBUTED_HOG_INVOCATION_RESULTS_TABLE_SQL,
DROP_HOG_INVOCATION_RESULTS_MV_SQL as DROP_HOG_INVOCATION_RESULTS_MV_SQL,
DROP_KAFKA_HOG_INVOCATION_RESULTS_TABLE_SQL as DROP_KAFKA_HOG_INVOCATION_RESULTS_TABLE_SQL,
HOG_INVOCATION_RESULTS_DATA_TABLE_SQL as HOG_INVOCATION_RESULTS_DATA_TABLE_SQL,
HOG_INVOCATION_RESULTS_MV_SQL as HOG_INVOCATION_RESULTS_MV_SQL,
INSERT_HOG_INVOCATION_RESULT_SQL as INSERT_HOG_INVOCATION_RESULT_SQL,
KAFKA_HOG_INVOCATION_RESULTS_TABLE_SQL as KAFKA_HOG_INVOCATION_RESULTS_TABLE_SQL,
)