Skip to content

Maayan via Elementary: Add upstream tests for cpa_and_roas pipeline#904

Open
joostboon wants to merge 1 commit intomasterfrom
elementary-create-dbt-tests-20260326181030952757
Open

Maayan via Elementary: Add upstream tests for cpa_and_roas pipeline#904
joostboon wants to merge 1 commit intomasterfrom
elementary-create-dbt-tests-20260326181030952757

Conversation

@joostboon
Copy link
Copy Markdown
Collaborator

Upstream Test Coverage for cpa_and_roas

Adds volume and freshness anomaly tests to staging models that feed into the cpa_and_roas pipeline:

stg_orders (5-level upstream)

  • Volume anomaly — Detects sudden drops or spikes in row count that would cascade through real_time_ordersorderscpa_and_roas
  • Freshness anomaly — Ensures the staging layer receives timely updates to keep the real-time pipeline current

stg_payments (5-level upstream)

  • Volume anomaly — Missing payment records would cause zero-value amounts, distorting ROAS figures
  • Freshness anomaly — Stale payment data leads to incomplete monetary calculations downstream

    Created by: maayan+172@elementary-data.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant