How emudamah0906/polaris-claims-lakehouse works
Polaris is an in-progress design specification for a P&C claims lakehouse, not a running system. Its principal workflow lands policy and claims data in Bronze, transforms it into Silver, and serves curated Gold marts for BI and the fraud console; a separate FNOL stream produces near-real-time fraud signals. The graph follows README-documented target flows and capabilities. Most implementation directories contain scaffolding only, so edges reflect documented design rather than inspected runtime calls.
Main entry points: polaris_ingest Bronze landing · dags Airflow batch orchestration · great_expectations Great Expectations · src Spark Silver transforms
Components 24
Sources and ingestion
- Policy and claims sources
- Synthetic data generator
scripts/generate_polaris_data.py - Bronze landing
ingestion/src/polaris_ingest - FNOL Kafka producer
streaming/fnol_producer
Lakehouse processing
- ADLS Bronze
- Spark Silver transforms
databricks/libraries/silver_transforms/src - Delta Silver
- Kafka
- Structured Streaming
streaming/spark_streaming/jobs - Fraud signal table
Serving and consumers
- Snowflake raw
- dbt Gold marts
dbt/models/marts - Snowflake Gold
- Streamlit fraud console
consumers/streamlit_fraud_console
Orchestration and trust
- Airflow batch orchestration
orchestration/airflow/dags - Great Expectations
quality/great_expectations - Data contracts
quality/data_contracts - OpenLineage integration
orchestration/airflow/plugins/openlineage - Marquez
lineage/marquez - Optional ADF trigger demo
adf/pipelines
Platform and security
- Terraform infrastructure
infra/terraform - Azure Key Vault
- Snowflake RBAC
infra/terraform/snowflake
Other components
- BI users
Connections 23
- Synthetic data generator → Policy and claims sources: writes CSVs
scripts/generate_polaris_data.py - Policy and claims sources → Bronze landing: lands data
README.md - Bronze landing → ADLS Bronze: writes Bronze
README.md - ADLS Bronze → Spark Silver transforms: conforms data
README.md - Spark Silver transforms → Delta Silver: writes Silver
README.md - FNOL Kafka producer → Kafka: publishes FNOL
README.md - Kafka → Structured Streaming: streams events
README.md - Structured Streaming → Fraud signal table: writes signals
README.md - Delta Silver → Snowflake raw: loads raw
README.md - Snowflake raw → dbt Gold marts: models data
README.md - dbt Gold marts → Snowflake Gold: serves marts
README.md - Snowflake Gold → BI users: serves analytics
README.md - Fraud signal table → Streamlit fraud console: feeds console
README.md - Airflow batch orchestration → Bronze landing: orchestrates batch
README.md - Airflow batch orchestration → Spark Silver transforms: orchestrates batch
README.md - Airflow batch orchestration → dbt Gold marts: orchestrates batch
README.md - Great Expectations → ADLS Bronze: validates Bronze
README.md - Great Expectations → Delta Silver: validates Silver
README.md - Data contracts → Great Expectations: defines expectations
README.md - OpenLineage integration → Marquez: sends lineage
README.md - Optional ADF trigger demo → Bronze landing: optionally triggers
README.md - Terraform infrastructure → Azure Key Vault: provisions access
README.md - Terraform infrastructure → Snowflake RBAC: manages roles
README.md