PostHog Warehouse Modeling Foundations

•
75
•

Architects reusable data models, HogQL views, and dbt structures across PostHog-native and external analytics stacks.

PostHog Warehouse Modeling Foundations provides essential guidance for creating durable, governed data models across PostHog-native data warehouse views and external dbt architectures. It helps developers choose between native HogQL materialized views and external staging/marts pipelines, enforce required column aliasing rules, manage star-schema joins, handle multi-currency normalization with convertCurrency(), and register models within the semantic layer for reuse across dashboards and insights.

主な機能

01Configures star-schema dimensions, person joins, and currency conversions
02Guides HogQL view creation, materialization schedules, and aliasing standards
0375 GitHub stars
04Evaluates trade-offs between native PostHog views and external dbt projects
05Provides standardized three-layer dbt project skeletons (sources, staging, marts)
06Enforces semantic layer governance to eliminate duplicate metric derivations

ユースケース

01Creating and materializing performant HogQL views for team-wide dashboard consumption
02Establishing consistent person- vs group-level aggregation architectures for B2B or B2C analytics
03Deciding whether to build warehouse views directly in PostHog or via external dbt pipelines