Bruin CLI Step 2 of 6
Stripe Analytics Pipeline with BigQuery
1) Run the raw layer
Bruin's selector syntax lets you run one directory of assets at a time:
bruin run --selector "path:assets/stripe_raw" --full-refresh --no-validation
Two flags matter on this first run:
--full-refreshcreates the tables from scratch. Use it on the initial load only.--no-validationskips the query dry-run. The downstream models reference tables that do not exist yet, so validating the whole pipeline before the first load will fail for the wrong reason. You run full validation in Step 4.
Warning
Do not keep --full-refresh in your daily schedule. Later in this pipeline it would wipe the daily MRR snapshot tables, and those observations cannot be reconstructed from current Stripe data.