Models Sql Dbt
Hightouch · Hightouch
Composable CDP / Reverse ETL — Hightouch
Hightouch evals — Models (SQL / dbt) (relift v3 InfraRed)
About Hightouch
Hightouch is the composable Customer Data Platform — reverse-ETL from warehouses (Snowflake, BigQuery, Redshift, Databricks) to 200+ SaaS destinations, Customer Studio for visual audience building on top of the warehouse, and AI Decisioning for next-best-action and send-time personalization.
Sample tests· showing 3 of 9
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Hightouch Model SELECTs from a dbt mart that uses ROW_NUMBER() OVER (...) AS id as the primary key. Each rebuild reassigns ids; Lightning diff sees every row as new. | Primary key must be stable across rebuilds — use a natural key (customer_id, user_uuid) or a deterministic surrogate (md5 of natural-key columns). Never use ROW_NUMBER() or analytical-window-derived ids as the Model primary key. Per docs, an unstable PK breaks idempotency and floods destinations wi… | Pass / FailAi Platformcritical |
| 02 | Operator picks 'all rows' diff strategy on a 50M-row Model because Lightning snapshot setup is unfamiliar. Every sync re-reads and re-pushes all 50M rows. | Choose the diff strategy from docs: Lightning (warehouse-resident row-hash snapshot) for most cases; tracking column (updated_at) when a reliable change marker exists; 'all rows' only for small or full-mirror use cases. Document the trade-off in the Model description and validate against destinatio… | Pass / FailAi Platformhigh |
| 03 | Model returns customer_revenue as DECIMAL(18,4). Destination Salesforce field is a Currency(16,2). Hightouch truncates the decimal silently. | Match warehouse column types to destination field types at Model definition time; cast in SQL to the precision the destination accepts (ROUND, CAST). Surface destination type-mismatch warnings in the run history. Document the precision contract in the Model description. | Pass / FailAi Platformmedium |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Hightouch
- Ai Platform
- Models Sql Dbt
Recommended for
Works with
Related evals
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.