Skip to main content
InterviewHubPRO
Section Overview
Q41

Question 41 of 50

Part 3: Enterprise Scale, Performance & CI/CD Pipelines (Senior / Staff)

82%
dbt Analytics Engineering (50 Qs)•Part 3: Enterprise Scale, Performance & CI/CD Pipelines (Senior / Staff)

Advanced Node Selection Syntax: Graph operators, state comparisons, and tagging strategies.

senior LevelMost AskedCode ExampleFormsPerformancePipes

In Simple Words: Mastering dbt CLI selection syntax saves hours of developer time:

bash
# 1. Run model and all its downstream descendants
dbt run --select dim_customers+

# 2. Run model and all its upstream ancestors
dbt run --select +dim_customers

# 3. Run model, its children, and its parents
dbt run --select +dim_customers+

# 4. Run models matching tag OR folder
dbt run --select "tag:finance path:models/marts"

# 5. State comparison: Run ONLY models modified in this Git branch
dbt run --select state:modified --state path/to/prod/manifest