[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dbt-labs-running-dbt-commands":3,"mdc--13vxlz-key":32,"related-org-dbt-labs-running-dbt-commands":2333,"related-repo-dbt-labs-running-dbt-commands":2492},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":21,"repoUrl":22,"updatedAt":23,"license":24,"forks":25,"topics":26,"repo":27,"sourceUrl":30,"mdContent":31},"running-dbt-commands","run dbt CLI commands","Formats and executes dbt CLI commands, selects the correct dbt executable, and structures command parameters. Use when running models, tests, builds, compiles, or show queries via dbt CLI. Use when unsure which dbt executable to use or how to format command parameters.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dbt-labs","dbt Labs","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdbt-labs.png",[12,16,19],{"name":13,"slug":14,"type":15},"Data Engineering","data-engineering","tag",{"name":17,"slug":18,"type":15},"CLI","cli",{"name":20,"slug":20,"type":15},"dbt",623,"https:\u002F\u002Fgithub.com\u002Fdbt-labs\u002Fdbt-agent-skills","2026-04-06T18:09:03.791122",null,52,[],{"repoUrl":22,"stars":21,"forks":25,"topics":28,"description":29},[],"A curated collection of Agent Skills for working with dbt, to help AI agents understand and execute dbt workflows more effectively.","https:\u002F\u002Fgithub.com\u002Fdbt-labs\u002Fdbt-agent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fdbt\u002Fskills\u002Frunning-dbt-commands","---\nname: running-dbt-commands\ndescription: Formats and executes dbt CLI commands, selects the correct dbt executable, and structures command parameters. Use when running models, tests, builds, compiles, or show queries via dbt CLI. Use when unsure which dbt executable to use or how to format command parameters.\nuser-invocable: false\nmetadata:\n  author: dbt-labs\n---\n\n# Running dbt Commands\n\n## Preferences\n\n1. **Use MCP tools if available** (`dbt_build`, `dbt_run`, `dbt_show`, etc.) - they handle paths, timeouts, and formatting automatically\n2. **Always use `build` — even when users say \"run\"** - When a user asks to \"run\" a model, recommend `dbt build` instead. `build` = `run` + `test` in one step, so it catches data quality issues immediately. `dbt run` alone is almost never the right answer during development.\n3. **Always use `--quiet`** with `--warn-error-options '{\"error\": [\"NoNodesForSelectionCriteria\"]}'` to reduce output while catching selector typos\n4. **Always use `--select`** - never run the entire project without explicit user approval\n\n## Quick Reference\n\n```bash\n# Standard command pattern\ndbt build --select my_model --quiet --warn-error-options '{\"error\": [\"NoNodesForSelectionCriteria\"]}'\n\n# Preview model output\ndbt show --select my_model --limit 10\n\n# Run inline SQL query\ndbt show --inline \"select * from {{ ref('orders') }}\" --limit 5\n\n# With variables (JSON format for multiple)\ndbt build --select my_model --vars '{\"key\": \"value\"}'\n\n# Full refresh for incremental models\ndbt build --select my_model --full-refresh\n\n# List resources before running\ndbt list --select my_model+ --resource-type model\n```\n\n## dbt CLI Flavors\n\nThree CLIs exist. **Ask the user which one if unsure.**\n\n| Flavor | Location | Notes |\n|--------|----------|-------|\n| **dbt Core** | Python venv | `pip show dbt-core` or `uv pip show dbt-core` |\n| **dbt Fusion** | `~\u002F.local\u002Fbin\u002Fdbt` or `dbtf` | Faster and has stronger SQL comprehension |\n| **dbt Cloud CLI** | `~\u002F.local\u002Fbin\u002Fdbt` | Go-based, runs on platform |\n\n**Common setup:** Core in venv + Fusion at `~\u002F.local\u002Fbin`. Running `dbt` uses Core. Use `dbtf` or `~\u002F.local\u002Fbin\u002Fdbt` for Fusion.\n\n## Selectors\n\n**Always provide a selector.** Graph operators:\n\n| Operator | Meaning | Example |\n|----------|---------|---------|\n| `model+` | Model and all downstream | `stg_orders+` |\n| `+model` | Model and all upstream | `+dim_customers` |\n| `+model+` | Both directions | `+orders+` |\n| `model+N` | Model and N levels downstream | `stg_orders+1` |\n\n```bash\n--select my_model              # Single model\n--select staging.*             # Path pattern\n--select fqn:*stg_*            # FQN pattern\n--select model_a model_b       # Union (space)\n--select tag:x,config.mat:y    # Intersection (comma)\n--exclude my_model             # Exclude from selection\n```\n\n**Resource type filter:**\n```bash\n--resource-type model\n--resource-type test --resource-type unit_test\n```\n\nValid types: `model`, `test`, `unit_test`, `snapshot`, `seed`, `source`, `exposure`, `metric`, `semantic_model`, `saved_query`, `analysis`\n\n> **Fusion:** `--resource-type` is **not supported with `dbt test`** ([dbt-fusion#1628](https:\u002F\u002Fgithub.com\u002Fdbt-labs\u002Fdbt-fusion\u002Fissues\u002F1628)). To run unit tests in Fusion:\n> - `dbt build --select model_name` — builds the model first, then runs all tests including unit tests\n> - `dbt build --select unit_test_name` — targets a specific unit test by name\n> - `dbt list --resource-type unit_test` — lists unit test names for use in selectors\n\n## List\n\nUse `dbt list` to preview what will be selected before running. Helpful for validating complex selectors.\n\n```bash\ndbt list --select my_model+              # Preview selection\ndbt list --select my_model+ --resource-type model  # Only models\ndbt list --output json                   # JSON output\ndbt list --select my_model --output json --output-keys unique_id name resource_type config\n```\n\n**Available output keys for `--output json`:**\n`unique_id`, `name`, `resource_type`, `package_name`, `original_file_path`, `path`, `alias`, `description`, `columns`, `meta`, `tags`, `config`, `depends_on`, `patch_path`, `schema`, `database`, `relation_name`, `raw_code`, `compiled_code`, `language`, `docs`, `group`, `access`, `version`, `fqn`, `refs`, `sources`, `metrics`\n\n## Show\n\nPreview data with `dbt show`. Use `--inline` for arbitrary SQL queries.\n\n```bash\ndbt show --select my_model --limit 10\ndbt show --inline \"select * from {{ ref('orders') }} where status = 'pending'\" --limit 5\n```\n\n**Important:** Use `--limit` flag, not SQL `LIMIT` clause.\n\n## Variables\n\nPass as STRING, not dict. No special characters (`\\`, `\\n`).\n\n```bash\n--vars 'my_var: value'                              # Single\n--vars '{\"k1\": \"v1\", \"k2\": 42, \"k3\": true}'         # Multiple (JSON)\n```\n\n## Analyzing Run Results\n\nAfter a dbt command, check `target\u002Frun_results.json` for detailed execution info:\n\n```bash\n# Quick status check\ncat target\u002Frun_results.json | jq '.results[] | {node: .unique_id, status: .status, time: .execution_time}'\n\n# Find failures\ncat target\u002Frun_results.json | jq '.results[] | select(.status != \"success\")'\n```\n\n**Key fields:**\n- `status`: success, error, fail, skipped, warn\n- `execution_time`: seconds spent executing\n- `compiled_code`: rendered SQL\n- `adapter_response`: database metadata (rows affected, bytes processed)\n\n## Defer (Skip Upstream Builds)\n\nReference production data instead of building upstream models:\n\n```bash\ndbt build --select my_model --defer --state prod-artifacts\n```\n\n**Flags:**\n- `--defer` - enable deferral to state manifest\n- `--state \u003Cpath>` - path to manifest from previous run (e.g., production artifacts)\n- `--favor-state` - prefer node definitions from state even if they exist locally\n\n```bash\ndbt build --select my_model --defer --state prod-artifacts --favor-state\n```\n\n## Static Analysis (Fusion Only)\n\nOverride SQL analysis for models with dynamic SQL or unrecognized UDFs:\n\n```bash\ndbt run --static-analysis=off\ndbt run --static-analysis=unsafe\n```\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---------|-----|\n| Using `test` after model change | Use `build` - test doesn't refresh the model |\n| Running without `--select` | Always specify what to run |\n| Using `--quiet` without warn-error | Add `--warn-error-options '{\"error\": [\"NoNodesForSelectionCriteria\"]}'` |\n| Running `dbt` expecting Fusion when we are in a venv | Use `dbtf` or `~\u002F.local\u002Fbin\u002Fdbt` |\n| Schema errors after changing files in Fusion | Run `dbt clean` to clear the stale schema cache, then re-run |\n| Adding LIMIT to SQL in `dbt_show` | Use `limit` parameter instead |\n| Vars with special characters | Pass as simple string, no `\\` or `\\n` |\n",{"data":33,"body":36},{"name":4,"description":6,"user-invocable":34,"metadata":35},false,{"author":8},{"type":37,"children":38},"root",[39,47,54,189,195,524,530,541,663,701,707,717,848,980,988,1028,1108,1189,1195,1208,1350,1561,1567,1588,1658,1684,1690,1710,1769,1775,1788,1886,1894,1940,1946,1951,1992,2000,2036,2080,2086,2091,2131,2137,2327],{"type":40,"tag":41,"props":42,"children":43},"element","h1",{"id":4},[44],{"type":45,"value":46},"text","Running dbt Commands",{"type":40,"tag":48,"props":49,"children":51},"h2",{"id":50},"preferences",[52],{"type":45,"value":53},"Preferences",{"type":40,"tag":55,"props":56,"children":57},"ol",{},[58,94,151,174],{"type":40,"tag":59,"props":60,"children":61},"li",{},[62,68,70,77,79,85,86,92],{"type":40,"tag":63,"props":64,"children":65},"strong",{},[66],{"type":45,"value":67},"Use MCP tools if available",{"type":45,"value":69}," (",{"type":40,"tag":71,"props":72,"children":74},"code",{"className":73},[],[75],{"type":45,"value":76},"dbt_build",{"type":45,"value":78},", ",{"type":40,"tag":71,"props":80,"children":82},{"className":81},[],[83],{"type":45,"value":84},"dbt_run",{"type":45,"value":78},{"type":40,"tag":71,"props":87,"children":89},{"className":88},[],[90],{"type":45,"value":91},"dbt_show",{"type":45,"value":93},", etc.) - they handle paths, timeouts, and formatting automatically",{"type":40,"tag":59,"props":95,"children":96},{},[97,110,112,118,120,125,127,133,135,141,143,149],{"type":40,"tag":63,"props":98,"children":99},{},[100,102,108],{"type":45,"value":101},"Always use ",{"type":40,"tag":71,"props":103,"children":105},{"className":104},[],[106],{"type":45,"value":107},"build",{"type":45,"value":109}," — even when users say \"run\"",{"type":45,"value":111}," - When a user asks to \"run\" a model, recommend ",{"type":40,"tag":71,"props":113,"children":115},{"className":114},[],[116],{"type":45,"value":117},"dbt build",{"type":45,"value":119}," instead. ",{"type":40,"tag":71,"props":121,"children":123},{"className":122},[],[124],{"type":45,"value":107},{"type":45,"value":126}," = ",{"type":40,"tag":71,"props":128,"children":130},{"className":129},[],[131],{"type":45,"value":132},"run",{"type":45,"value":134}," + ",{"type":40,"tag":71,"props":136,"children":138},{"className":137},[],[139],{"type":45,"value":140},"test",{"type":45,"value":142}," in one step, so it catches data quality issues immediately. ",{"type":40,"tag":71,"props":144,"children":146},{"className":145},[],[147],{"type":45,"value":148},"dbt run",{"type":45,"value":150}," alone is almost never the right answer during development.",{"type":40,"tag":59,"props":152,"children":153},{},[154,164,166,172],{"type":40,"tag":63,"props":155,"children":156},{},[157,158],{"type":45,"value":101},{"type":40,"tag":71,"props":159,"children":161},{"className":160},[],[162],{"type":45,"value":163},"--quiet",{"type":45,"value":165}," with ",{"type":40,"tag":71,"props":167,"children":169},{"className":168},[],[170],{"type":45,"value":171},"--warn-error-options '{\"error\": [\"NoNodesForSelectionCriteria\"]}'",{"type":45,"value":173}," to reduce output while catching selector typos",{"type":40,"tag":59,"props":175,"children":176},{},[177,187],{"type":40,"tag":63,"props":178,"children":179},{},[180,181],{"type":45,"value":101},{"type":40,"tag":71,"props":182,"children":184},{"className":183},[],[185],{"type":45,"value":186},"--select",{"type":45,"value":188}," - never run the entire project without explicit user approval",{"type":40,"tag":48,"props":190,"children":192},{"id":191},"quick-reference",[193],{"type":45,"value":194},"Quick Reference",{"type":40,"tag":196,"props":197,"children":202},"pre",{"className":198,"code":199,"language":200,"meta":201,"style":201},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Standard command pattern\ndbt build --select my_model --quiet --warn-error-options '{\"error\": [\"NoNodesForSelectionCriteria\"]}'\n\n# Preview model output\ndbt show --select my_model --limit 10\n\n# Run inline SQL query\ndbt show --inline \"select * from {{ ref('orders') }}\" --limit 5\n\n# With variables (JSON format for multiple)\ndbt build --select my_model --vars '{\"key\": \"value\"}'\n\n# Full refresh for incremental models\ndbt build --select my_model --full-refresh\n\n# List resources before running\ndbt list --select my_model+ --resource-type model\n","bash","",[203],{"type":40,"tag":71,"props":204,"children":205},{"__ignoreMap":201},[206,218,269,279,288,320,328,337,378,386,395,433,441,450,475,483,492],{"type":40,"tag":207,"props":208,"children":211},"span",{"class":209,"line":210},"line",1,[212],{"type":40,"tag":207,"props":213,"children":215},{"style":214},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[216],{"type":45,"value":217},"# Standard command pattern\n",{"type":40,"tag":207,"props":219,"children":221},{"class":209,"line":220},2,[222,227,233,238,243,248,253,259,264],{"type":40,"tag":207,"props":223,"children":225},{"style":224},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[226],{"type":45,"value":20},{"type":40,"tag":207,"props":228,"children":230},{"style":229},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[231],{"type":45,"value":232}," build",{"type":40,"tag":207,"props":234,"children":235},{"style":229},[236],{"type":45,"value":237}," --select",{"type":40,"tag":207,"props":239,"children":240},{"style":229},[241],{"type":45,"value":242}," my_model",{"type":40,"tag":207,"props":244,"children":245},{"style":229},[246],{"type":45,"value":247}," --quiet",{"type":40,"tag":207,"props":249,"children":250},{"style":229},[251],{"type":45,"value":252}," --warn-error-options",{"type":40,"tag":207,"props":254,"children":256},{"style":255},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[257],{"type":45,"value":258}," '",{"type":40,"tag":207,"props":260,"children":261},{"style":229},[262],{"type":45,"value":263},"{\"error\": [\"NoNodesForSelectionCriteria\"]}",{"type":40,"tag":207,"props":265,"children":266},{"style":255},[267],{"type":45,"value":268},"'\n",{"type":40,"tag":207,"props":270,"children":272},{"class":209,"line":271},3,[273],{"type":40,"tag":207,"props":274,"children":276},{"emptyLinePlaceholder":275},true,[277],{"type":45,"value":278},"\n",{"type":40,"tag":207,"props":280,"children":282},{"class":209,"line":281},4,[283],{"type":40,"tag":207,"props":284,"children":285},{"style":214},[286],{"type":45,"value":287},"# Preview model output\n",{"type":40,"tag":207,"props":289,"children":291},{"class":209,"line":290},5,[292,296,301,305,309,314],{"type":40,"tag":207,"props":293,"children":294},{"style":224},[295],{"type":45,"value":20},{"type":40,"tag":207,"props":297,"children":298},{"style":229},[299],{"type":45,"value":300}," show",{"type":40,"tag":207,"props":302,"children":303},{"style":229},[304],{"type":45,"value":237},{"type":40,"tag":207,"props":306,"children":307},{"style":229},[308],{"type":45,"value":242},{"type":40,"tag":207,"props":310,"children":311},{"style":229},[312],{"type":45,"value":313}," --limit",{"type":40,"tag":207,"props":315,"children":317},{"style":316},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[318],{"type":45,"value":319}," 10\n",{"type":40,"tag":207,"props":321,"children":323},{"class":209,"line":322},6,[324],{"type":40,"tag":207,"props":325,"children":326},{"emptyLinePlaceholder":275},[327],{"type":45,"value":278},{"type":40,"tag":207,"props":329,"children":331},{"class":209,"line":330},7,[332],{"type":40,"tag":207,"props":333,"children":334},{"style":214},[335],{"type":45,"value":336},"# Run inline SQL query\n",{"type":40,"tag":207,"props":338,"children":340},{"class":209,"line":339},8,[341,345,349,354,359,364,369,373],{"type":40,"tag":207,"props":342,"children":343},{"style":224},[344],{"type":45,"value":20},{"type":40,"tag":207,"props":346,"children":347},{"style":229},[348],{"type":45,"value":300},{"type":40,"tag":207,"props":350,"children":351},{"style":229},[352],{"type":45,"value":353}," --inline",{"type":40,"tag":207,"props":355,"children":356},{"style":255},[357],{"type":45,"value":358}," \"",{"type":40,"tag":207,"props":360,"children":361},{"style":229},[362],{"type":45,"value":363},"select * from {{ ref('orders') }}",{"type":40,"tag":207,"props":365,"children":366},{"style":255},[367],{"type":45,"value":368},"\"",{"type":40,"tag":207,"props":370,"children":371},{"style":229},[372],{"type":45,"value":313},{"type":40,"tag":207,"props":374,"children":375},{"style":316},[376],{"type":45,"value":377}," 5\n",{"type":40,"tag":207,"props":379,"children":381},{"class":209,"line":380},9,[382],{"type":40,"tag":207,"props":383,"children":384},{"emptyLinePlaceholder":275},[385],{"type":45,"value":278},{"type":40,"tag":207,"props":387,"children":389},{"class":209,"line":388},10,[390],{"type":40,"tag":207,"props":391,"children":392},{"style":214},[393],{"type":45,"value":394},"# With variables (JSON format for multiple)\n",{"type":40,"tag":207,"props":396,"children":398},{"class":209,"line":397},11,[399,403,407,411,415,420,424,429],{"type":40,"tag":207,"props":400,"children":401},{"style":224},[402],{"type":45,"value":20},{"type":40,"tag":207,"props":404,"children":405},{"style":229},[406],{"type":45,"value":232},{"type":40,"tag":207,"props":408,"children":409},{"style":229},[410],{"type":45,"value":237},{"type":40,"tag":207,"props":412,"children":413},{"style":229},[414],{"type":45,"value":242},{"type":40,"tag":207,"props":416,"children":417},{"style":229},[418],{"type":45,"value":419}," --vars",{"type":40,"tag":207,"props":421,"children":422},{"style":255},[423],{"type":45,"value":258},{"type":40,"tag":207,"props":425,"children":426},{"style":229},[427],{"type":45,"value":428},"{\"key\": \"value\"}",{"type":40,"tag":207,"props":430,"children":431},{"style":255},[432],{"type":45,"value":268},{"type":40,"tag":207,"props":434,"children":436},{"class":209,"line":435},12,[437],{"type":40,"tag":207,"props":438,"children":439},{"emptyLinePlaceholder":275},[440],{"type":45,"value":278},{"type":40,"tag":207,"props":442,"children":444},{"class":209,"line":443},13,[445],{"type":40,"tag":207,"props":446,"children":447},{"style":214},[448],{"type":45,"value":449},"# Full refresh for incremental models\n",{"type":40,"tag":207,"props":451,"children":453},{"class":209,"line":452},14,[454,458,462,466,470],{"type":40,"tag":207,"props":455,"children":456},{"style":224},[457],{"type":45,"value":20},{"type":40,"tag":207,"props":459,"children":460},{"style":229},[461],{"type":45,"value":232},{"type":40,"tag":207,"props":463,"children":464},{"style":229},[465],{"type":45,"value":237},{"type":40,"tag":207,"props":467,"children":468},{"style":229},[469],{"type":45,"value":242},{"type":40,"tag":207,"props":471,"children":472},{"style":229},[473],{"type":45,"value":474}," --full-refresh\n",{"type":40,"tag":207,"props":476,"children":478},{"class":209,"line":477},15,[479],{"type":40,"tag":207,"props":480,"children":481},{"emptyLinePlaceholder":275},[482],{"type":45,"value":278},{"type":40,"tag":207,"props":484,"children":486},{"class":209,"line":485},16,[487],{"type":40,"tag":207,"props":488,"children":489},{"style":214},[490],{"type":45,"value":491},"# List resources before running\n",{"type":40,"tag":207,"props":493,"children":495},{"class":209,"line":494},17,[496,500,505,509,514,519],{"type":40,"tag":207,"props":497,"children":498},{"style":224},[499],{"type":45,"value":20},{"type":40,"tag":207,"props":501,"children":502},{"style":229},[503],{"type":45,"value":504}," list",{"type":40,"tag":207,"props":506,"children":507},{"style":229},[508],{"type":45,"value":237},{"type":40,"tag":207,"props":510,"children":511},{"style":229},[512],{"type":45,"value":513}," my_model+",{"type":40,"tag":207,"props":515,"children":516},{"style":229},[517],{"type":45,"value":518}," --resource-type",{"type":40,"tag":207,"props":520,"children":521},{"style":229},[522],{"type":45,"value":523}," model\n",{"type":40,"tag":48,"props":525,"children":527},{"id":526},"dbt-cli-flavors",[528],{"type":45,"value":529},"dbt CLI Flavors",{"type":40,"tag":531,"props":532,"children":533},"p",{},[534,536],{"type":45,"value":535},"Three CLIs exist. ",{"type":40,"tag":63,"props":537,"children":538},{},[539],{"type":45,"value":540},"Ask the user which one if unsure.",{"type":40,"tag":542,"props":543,"children":544},"table",{},[545,569],{"type":40,"tag":546,"props":547,"children":548},"thead",{},[549],{"type":40,"tag":550,"props":551,"children":552},"tr",{},[553,559,564],{"type":40,"tag":554,"props":555,"children":556},"th",{},[557],{"type":45,"value":558},"Flavor",{"type":40,"tag":554,"props":560,"children":561},{},[562],{"type":45,"value":563},"Location",{"type":40,"tag":554,"props":565,"children":566},{},[567],{"type":45,"value":568},"Notes",{"type":40,"tag":570,"props":571,"children":572},"tbody",{},[573,607,639],{"type":40,"tag":550,"props":574,"children":575},{},[576,585,590],{"type":40,"tag":577,"props":578,"children":579},"td",{},[580],{"type":40,"tag":63,"props":581,"children":582},{},[583],{"type":45,"value":584},"dbt Core",{"type":40,"tag":577,"props":586,"children":587},{},[588],{"type":45,"value":589},"Python venv",{"type":40,"tag":577,"props":591,"children":592},{},[593,599,601],{"type":40,"tag":71,"props":594,"children":596},{"className":595},[],[597],{"type":45,"value":598},"pip show dbt-core",{"type":45,"value":600}," or ",{"type":40,"tag":71,"props":602,"children":604},{"className":603},[],[605],{"type":45,"value":606},"uv pip show dbt-core",{"type":40,"tag":550,"props":608,"children":609},{},[610,618,634],{"type":40,"tag":577,"props":611,"children":612},{},[613],{"type":40,"tag":63,"props":614,"children":615},{},[616],{"type":45,"value":617},"dbt Fusion",{"type":40,"tag":577,"props":619,"children":620},{},[621,627,628],{"type":40,"tag":71,"props":622,"children":624},{"className":623},[],[625],{"type":45,"value":626},"~\u002F.local\u002Fbin\u002Fdbt",{"type":45,"value":600},{"type":40,"tag":71,"props":629,"children":631},{"className":630},[],[632],{"type":45,"value":633},"dbtf",{"type":40,"tag":577,"props":635,"children":636},{},[637],{"type":45,"value":638},"Faster and has stronger SQL comprehension",{"type":40,"tag":550,"props":640,"children":641},{},[642,650,658],{"type":40,"tag":577,"props":643,"children":644},{},[645],{"type":40,"tag":63,"props":646,"children":647},{},[648],{"type":45,"value":649},"dbt Cloud CLI",{"type":40,"tag":577,"props":651,"children":652},{},[653],{"type":40,"tag":71,"props":654,"children":656},{"className":655},[],[657],{"type":45,"value":626},{"type":40,"tag":577,"props":659,"children":660},{},[661],{"type":45,"value":662},"Go-based, runs on platform",{"type":40,"tag":531,"props":664,"children":665},{},[666,671,673,679,681,686,688,693,694,699],{"type":40,"tag":63,"props":667,"children":668},{},[669],{"type":45,"value":670},"Common setup:",{"type":45,"value":672}," Core in venv + Fusion at ",{"type":40,"tag":71,"props":674,"children":676},{"className":675},[],[677],{"type":45,"value":678},"~\u002F.local\u002Fbin",{"type":45,"value":680},". Running ",{"type":40,"tag":71,"props":682,"children":684},{"className":683},[],[685],{"type":45,"value":20},{"type":45,"value":687}," uses Core. Use ",{"type":40,"tag":71,"props":689,"children":691},{"className":690},[],[692],{"type":45,"value":633},{"type":45,"value":600},{"type":40,"tag":71,"props":695,"children":697},{"className":696},[],[698],{"type":45,"value":626},{"type":45,"value":700}," for Fusion.",{"type":40,"tag":48,"props":702,"children":704},{"id":703},"selectors",[705],{"type":45,"value":706},"Selectors",{"type":40,"tag":531,"props":708,"children":709},{},[710,715],{"type":40,"tag":63,"props":711,"children":712},{},[713],{"type":45,"value":714},"Always provide a selector.",{"type":45,"value":716}," Graph operators:",{"type":40,"tag":542,"props":718,"children":719},{},[720,741],{"type":40,"tag":546,"props":721,"children":722},{},[723],{"type":40,"tag":550,"props":724,"children":725},{},[726,731,736],{"type":40,"tag":554,"props":727,"children":728},{},[729],{"type":45,"value":730},"Operator",{"type":40,"tag":554,"props":732,"children":733},{},[734],{"type":45,"value":735},"Meaning",{"type":40,"tag":554,"props":737,"children":738},{},[739],{"type":45,"value":740},"Example",{"type":40,"tag":570,"props":742,"children":743},{},[744,770,796,822],{"type":40,"tag":550,"props":745,"children":746},{},[747,756,761],{"type":40,"tag":577,"props":748,"children":749},{},[750],{"type":40,"tag":71,"props":751,"children":753},{"className":752},[],[754],{"type":45,"value":755},"model+",{"type":40,"tag":577,"props":757,"children":758},{},[759],{"type":45,"value":760},"Model and all downstream",{"type":40,"tag":577,"props":762,"children":763},{},[764],{"type":40,"tag":71,"props":765,"children":767},{"className":766},[],[768],{"type":45,"value":769},"stg_orders+",{"type":40,"tag":550,"props":771,"children":772},{},[773,782,787],{"type":40,"tag":577,"props":774,"children":775},{},[776],{"type":40,"tag":71,"props":777,"children":779},{"className":778},[],[780],{"type":45,"value":781},"+model",{"type":40,"tag":577,"props":783,"children":784},{},[785],{"type":45,"value":786},"Model and all upstream",{"type":40,"tag":577,"props":788,"children":789},{},[790],{"type":40,"tag":71,"props":791,"children":793},{"className":792},[],[794],{"type":45,"value":795},"+dim_customers",{"type":40,"tag":550,"props":797,"children":798},{},[799,808,813],{"type":40,"tag":577,"props":800,"children":801},{},[802],{"type":40,"tag":71,"props":803,"children":805},{"className":804},[],[806],{"type":45,"value":807},"+model+",{"type":40,"tag":577,"props":809,"children":810},{},[811],{"type":45,"value":812},"Both directions",{"type":40,"tag":577,"props":814,"children":815},{},[816],{"type":40,"tag":71,"props":817,"children":819},{"className":818},[],[820],{"type":45,"value":821},"+orders+",{"type":40,"tag":550,"props":823,"children":824},{},[825,834,839],{"type":40,"tag":577,"props":826,"children":827},{},[828],{"type":40,"tag":71,"props":829,"children":831},{"className":830},[],[832],{"type":45,"value":833},"model+N",{"type":40,"tag":577,"props":835,"children":836},{},[837],{"type":45,"value":838},"Model and N levels downstream",{"type":40,"tag":577,"props":840,"children":841},{},[842],{"type":40,"tag":71,"props":843,"children":845},{"className":844},[],[846],{"type":45,"value":847},"stg_orders+1",{"type":40,"tag":196,"props":849,"children":851},{"className":198,"code":850,"language":200,"meta":201,"style":201},"--select my_model              # Single model\n--select staging.*             # Path pattern\n--select fqn:*stg_*            # FQN pattern\n--select model_a model_b       # Union (space)\n--select tag:x,config.mat:y    # Intersection (comma)\n--exclude my_model             # Exclude from selection\n",[852],{"type":40,"tag":71,"props":853,"children":854},{"__ignoreMap":201},[855,871,894,924,946,963],{"type":40,"tag":207,"props":856,"children":857},{"class":209,"line":210},[858,862,866],{"type":40,"tag":207,"props":859,"children":860},{"style":224},[861],{"type":45,"value":186},{"type":40,"tag":207,"props":863,"children":864},{"style":229},[865],{"type":45,"value":242},{"type":40,"tag":207,"props":867,"children":868},{"style":214},[869],{"type":45,"value":870},"              # Single model\n",{"type":40,"tag":207,"props":872,"children":873},{"class":209,"line":220},[874,878,883,889],{"type":40,"tag":207,"props":875,"children":876},{"style":224},[877],{"type":45,"value":186},{"type":40,"tag":207,"props":879,"children":880},{"style":229},[881],{"type":45,"value":882}," staging.",{"type":40,"tag":207,"props":884,"children":886},{"style":885},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[887],{"type":45,"value":888},"*",{"type":40,"tag":207,"props":890,"children":891},{"style":214},[892],{"type":45,"value":893},"             # Path pattern\n",{"type":40,"tag":207,"props":895,"children":896},{"class":209,"line":271},[897,901,906,910,915,919],{"type":40,"tag":207,"props":898,"children":899},{"style":224},[900],{"type":45,"value":186},{"type":40,"tag":207,"props":902,"children":903},{"style":229},[904],{"type":45,"value":905}," fqn:",{"type":40,"tag":207,"props":907,"children":908},{"style":885},[909],{"type":45,"value":888},{"type":40,"tag":207,"props":911,"children":912},{"style":229},[913],{"type":45,"value":914},"stg_",{"type":40,"tag":207,"props":916,"children":917},{"style":885},[918],{"type":45,"value":888},{"type":40,"tag":207,"props":920,"children":921},{"style":214},[922],{"type":45,"value":923},"            # FQN pattern\n",{"type":40,"tag":207,"props":925,"children":926},{"class":209,"line":281},[927,931,936,941],{"type":40,"tag":207,"props":928,"children":929},{"style":224},[930],{"type":45,"value":186},{"type":40,"tag":207,"props":932,"children":933},{"style":229},[934],{"type":45,"value":935}," model_a",{"type":40,"tag":207,"props":937,"children":938},{"style":229},[939],{"type":45,"value":940}," model_b",{"type":40,"tag":207,"props":942,"children":943},{"style":214},[944],{"type":45,"value":945},"       # Union (space)\n",{"type":40,"tag":207,"props":947,"children":948},{"class":209,"line":290},[949,953,958],{"type":40,"tag":207,"props":950,"children":951},{"style":224},[952],{"type":45,"value":186},{"type":40,"tag":207,"props":954,"children":955},{"style":229},[956],{"type":45,"value":957}," tag:x,config.mat:y",{"type":40,"tag":207,"props":959,"children":960},{"style":214},[961],{"type":45,"value":962},"    # Intersection (comma)\n",{"type":40,"tag":207,"props":964,"children":965},{"class":209,"line":322},[966,971,975],{"type":40,"tag":207,"props":967,"children":968},{"style":224},[969],{"type":45,"value":970},"--exclude",{"type":40,"tag":207,"props":972,"children":973},{"style":229},[974],{"type":45,"value":242},{"type":40,"tag":207,"props":976,"children":977},{"style":214},[978],{"type":45,"value":979},"             # Exclude from selection\n",{"type":40,"tag":531,"props":981,"children":982},{},[983],{"type":40,"tag":63,"props":984,"children":985},{},[986],{"type":45,"value":987},"Resource type filter:",{"type":40,"tag":196,"props":989,"children":991},{"className":198,"code":990,"language":200,"meta":201,"style":201},"--resource-type model\n--resource-type test --resource-type unit_test\n",[992],{"type":40,"tag":71,"props":993,"children":994},{"__ignoreMap":201},[995,1007],{"type":40,"tag":207,"props":996,"children":997},{"class":209,"line":210},[998,1003],{"type":40,"tag":207,"props":999,"children":1000},{"style":224},[1001],{"type":45,"value":1002},"--resource-type",{"type":40,"tag":207,"props":1004,"children":1005},{"style":229},[1006],{"type":45,"value":523},{"type":40,"tag":207,"props":1008,"children":1009},{"class":209,"line":220},[1010,1014,1019,1023],{"type":40,"tag":207,"props":1011,"children":1012},{"style":224},[1013],{"type":45,"value":1002},{"type":40,"tag":207,"props":1015,"children":1016},{"style":229},[1017],{"type":45,"value":1018}," test",{"type":40,"tag":207,"props":1020,"children":1021},{"style":229},[1022],{"type":45,"value":518},{"type":40,"tag":207,"props":1024,"children":1025},{"style":229},[1026],{"type":45,"value":1027}," unit_test\n",{"type":40,"tag":531,"props":1029,"children":1030},{},[1031,1033,1039,1040,1045,1046,1052,1053,1059,1060,1066,1067,1073,1074,1080,1081,1087,1088,1094,1095,1101,1102],{"type":45,"value":1032},"Valid types: ",{"type":40,"tag":71,"props":1034,"children":1036},{"className":1035},[],[1037],{"type":45,"value":1038},"model",{"type":45,"value":78},{"type":40,"tag":71,"props":1041,"children":1043},{"className":1042},[],[1044],{"type":45,"value":140},{"type":45,"value":78},{"type":40,"tag":71,"props":1047,"children":1049},{"className":1048},[],[1050],{"type":45,"value":1051},"unit_test",{"type":45,"value":78},{"type":40,"tag":71,"props":1054,"children":1056},{"className":1055},[],[1057],{"type":45,"value":1058},"snapshot",{"type":45,"value":78},{"type":40,"tag":71,"props":1061,"children":1063},{"className":1062},[],[1064],{"type":45,"value":1065},"seed",{"type":45,"value":78},{"type":40,"tag":71,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":45,"value":1072},"source",{"type":45,"value":78},{"type":40,"tag":71,"props":1075,"children":1077},{"className":1076},[],[1078],{"type":45,"value":1079},"exposure",{"type":45,"value":78},{"type":40,"tag":71,"props":1082,"children":1084},{"className":1083},[],[1085],{"type":45,"value":1086},"metric",{"type":45,"value":78},{"type":40,"tag":71,"props":1089,"children":1091},{"className":1090},[],[1092],{"type":45,"value":1093},"semantic_model",{"type":45,"value":78},{"type":40,"tag":71,"props":1096,"children":1098},{"className":1097},[],[1099],{"type":45,"value":1100},"saved_query",{"type":45,"value":78},{"type":40,"tag":71,"props":1103,"children":1105},{"className":1104},[],[1106],{"type":45,"value":1107},"analysis",{"type":40,"tag":1109,"props":1110,"children":1111},"blockquote",{},[1112,1152],{"type":40,"tag":531,"props":1113,"children":1114},{},[1115,1120,1122,1127,1129,1140,1141,1150],{"type":40,"tag":63,"props":1116,"children":1117},{},[1118],{"type":45,"value":1119},"Fusion:",{"type":45,"value":1121}," ",{"type":40,"tag":71,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":45,"value":1002},{"type":45,"value":1128}," is ",{"type":40,"tag":63,"props":1130,"children":1131},{},[1132,1134],{"type":45,"value":1133},"not supported with ",{"type":40,"tag":71,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":45,"value":1139},"dbt test",{"type":45,"value":69},{"type":40,"tag":1142,"props":1143,"children":1147},"a",{"href":1144,"rel":1145},"https:\u002F\u002Fgithub.com\u002Fdbt-labs\u002Fdbt-fusion\u002Fissues\u002F1628",[1146],"nofollow",[1148],{"type":45,"value":1149},"dbt-fusion#1628",{"type":45,"value":1151},"). To run unit tests in Fusion:",{"type":40,"tag":1153,"props":1154,"children":1155},"ul",{},[1156,1167,1178],{"type":40,"tag":59,"props":1157,"children":1158},{},[1159,1165],{"type":40,"tag":71,"props":1160,"children":1162},{"className":1161},[],[1163],{"type":45,"value":1164},"dbt build --select model_name",{"type":45,"value":1166}," — builds the model first, then runs all tests including unit tests",{"type":40,"tag":59,"props":1168,"children":1169},{},[1170,1176],{"type":40,"tag":71,"props":1171,"children":1173},{"className":1172},[],[1174],{"type":45,"value":1175},"dbt build --select unit_test_name",{"type":45,"value":1177}," — targets a specific unit test by name",{"type":40,"tag":59,"props":1179,"children":1180},{},[1181,1187],{"type":40,"tag":71,"props":1182,"children":1184},{"className":1183},[],[1185],{"type":45,"value":1186},"dbt list --resource-type unit_test",{"type":45,"value":1188}," — lists unit test names for use in selectors",{"type":40,"tag":48,"props":1190,"children":1192},{"id":1191},"list",[1193],{"type":45,"value":1194},"List",{"type":40,"tag":531,"props":1196,"children":1197},{},[1198,1200,1206],{"type":45,"value":1199},"Use ",{"type":40,"tag":71,"props":1201,"children":1203},{"className":1202},[],[1204],{"type":45,"value":1205},"dbt list",{"type":45,"value":1207}," to preview what will be selected before running. Helpful for validating complex selectors.",{"type":40,"tag":196,"props":1209,"children":1211},{"className":198,"code":1210,"language":200,"meta":201,"style":201},"dbt list --select my_model+              # Preview selection\ndbt list --select my_model+ --resource-type model  # Only models\ndbt list --output json                   # JSON output\ndbt list --select my_model --output json --output-keys unique_id name resource_type config\n",[1212],{"type":40,"tag":71,"props":1213,"children":1214},{"__ignoreMap":201},[1215,1239,1272,1298],{"type":40,"tag":207,"props":1216,"children":1217},{"class":209,"line":210},[1218,1222,1226,1230,1234],{"type":40,"tag":207,"props":1219,"children":1220},{"style":224},[1221],{"type":45,"value":20},{"type":40,"tag":207,"props":1223,"children":1224},{"style":229},[1225],{"type":45,"value":504},{"type":40,"tag":207,"props":1227,"children":1228},{"style":229},[1229],{"type":45,"value":237},{"type":40,"tag":207,"props":1231,"children":1232},{"style":229},[1233],{"type":45,"value":513},{"type":40,"tag":207,"props":1235,"children":1236},{"style":214},[1237],{"type":45,"value":1238},"              # Preview selection\n",{"type":40,"tag":207,"props":1240,"children":1241},{"class":209,"line":220},[1242,1246,1250,1254,1258,1262,1267],{"type":40,"tag":207,"props":1243,"children":1244},{"style":224},[1245],{"type":45,"value":20},{"type":40,"tag":207,"props":1247,"children":1248},{"style":229},[1249],{"type":45,"value":504},{"type":40,"tag":207,"props":1251,"children":1252},{"style":229},[1253],{"type":45,"value":237},{"type":40,"tag":207,"props":1255,"children":1256},{"style":229},[1257],{"type":45,"value":513},{"type":40,"tag":207,"props":1259,"children":1260},{"style":229},[1261],{"type":45,"value":518},{"type":40,"tag":207,"props":1263,"children":1264},{"style":229},[1265],{"type":45,"value":1266}," model",{"type":40,"tag":207,"props":1268,"children":1269},{"style":214},[1270],{"type":45,"value":1271},"  # Only models\n",{"type":40,"tag":207,"props":1273,"children":1274},{"class":209,"line":271},[1275,1279,1283,1288,1293],{"type":40,"tag":207,"props":1276,"children":1277},{"style":224},[1278],{"type":45,"value":20},{"type":40,"tag":207,"props":1280,"children":1281},{"style":229},[1282],{"type":45,"value":504},{"type":40,"tag":207,"props":1284,"children":1285},{"style":229},[1286],{"type":45,"value":1287}," --output",{"type":40,"tag":207,"props":1289,"children":1290},{"style":229},[1291],{"type":45,"value":1292}," json",{"type":40,"tag":207,"props":1294,"children":1295},{"style":214},[1296],{"type":45,"value":1297},"                   # JSON output\n",{"type":40,"tag":207,"props":1299,"children":1300},{"class":209,"line":281},[1301,1305,1309,1313,1317,1321,1325,1330,1335,1340,1345],{"type":40,"tag":207,"props":1302,"children":1303},{"style":224},[1304],{"type":45,"value":20},{"type":40,"tag":207,"props":1306,"children":1307},{"style":229},[1308],{"type":45,"value":504},{"type":40,"tag":207,"props":1310,"children":1311},{"style":229},[1312],{"type":45,"value":237},{"type":40,"tag":207,"props":1314,"children":1315},{"style":229},[1316],{"type":45,"value":242},{"type":40,"tag":207,"props":1318,"children":1319},{"style":229},[1320],{"type":45,"value":1287},{"type":40,"tag":207,"props":1322,"children":1323},{"style":229},[1324],{"type":45,"value":1292},{"type":40,"tag":207,"props":1326,"children":1327},{"style":229},[1328],{"type":45,"value":1329}," --output-keys",{"type":40,"tag":207,"props":1331,"children":1332},{"style":229},[1333],{"type":45,"value":1334}," unique_id",{"type":40,"tag":207,"props":1336,"children":1337},{"style":229},[1338],{"type":45,"value":1339}," name",{"type":40,"tag":207,"props":1341,"children":1342},{"style":229},[1343],{"type":45,"value":1344}," resource_type",{"type":40,"tag":207,"props":1346,"children":1347},{"style":229},[1348],{"type":45,"value":1349}," config\n",{"type":40,"tag":531,"props":1351,"children":1352},{},[1353,1366,1372,1373,1379,1380,1386,1387,1393,1394,1400,1401,1407,1408,1414,1415,1421,1422,1428,1429,1435,1436,1442,1443,1449,1450,1456,1457,1463,1464,1470,1471,1477,1478,1484,1485,1491,1492,1498,1499,1505,1506,1512,1513,1519,1520,1526,1527,1533,1534,1540,1541,1547,1548,1554,1555],{"type":40,"tag":63,"props":1354,"children":1355},{},[1356,1358,1364],{"type":45,"value":1357},"Available output keys for ",{"type":40,"tag":71,"props":1359,"children":1361},{"className":1360},[],[1362],{"type":45,"value":1363},"--output json",{"type":45,"value":1365},":",{"type":40,"tag":71,"props":1367,"children":1369},{"className":1368},[],[1370],{"type":45,"value":1371},"unique_id",{"type":45,"value":78},{"type":40,"tag":71,"props":1374,"children":1376},{"className":1375},[],[1377],{"type":45,"value":1378},"name",{"type":45,"value":78},{"type":40,"tag":71,"props":1381,"children":1383},{"className":1382},[],[1384],{"type":45,"value":1385},"resource_type",{"type":45,"value":78},{"type":40,"tag":71,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":45,"value":1392},"package_name",{"type":45,"value":78},{"type":40,"tag":71,"props":1395,"children":1397},{"className":1396},[],[1398],{"type":45,"value":1399},"original_file_path",{"type":45,"value":78},{"type":40,"tag":71,"props":1402,"children":1404},{"className":1403},[],[1405],{"type":45,"value":1406},"path",{"type":45,"value":78},{"type":40,"tag":71,"props":1409,"children":1411},{"className":1410},[],[1412],{"type":45,"value":1413},"alias",{"type":45,"value":78},{"type":40,"tag":71,"props":1416,"children":1418},{"className":1417},[],[1419],{"type":45,"value":1420},"description",{"type":45,"value":78},{"type":40,"tag":71,"props":1423,"children":1425},{"className":1424},[],[1426],{"type":45,"value":1427},"columns",{"type":45,"value":78},{"type":40,"tag":71,"props":1430,"children":1432},{"className":1431},[],[1433],{"type":45,"value":1434},"meta",{"type":45,"value":78},{"type":40,"tag":71,"props":1437,"children":1439},{"className":1438},[],[1440],{"type":45,"value":1441},"tags",{"type":45,"value":78},{"type":40,"tag":71,"props":1444,"children":1446},{"className":1445},[],[1447],{"type":45,"value":1448},"config",{"type":45,"value":78},{"type":40,"tag":71,"props":1451,"children":1453},{"className":1452},[],[1454],{"type":45,"value":1455},"depends_on",{"type":45,"value":78},{"type":40,"tag":71,"props":1458,"children":1460},{"className":1459},[],[1461],{"type":45,"value":1462},"patch_path",{"type":45,"value":78},{"type":40,"tag":71,"props":1465,"children":1467},{"className":1466},[],[1468],{"type":45,"value":1469},"schema",{"type":45,"value":78},{"type":40,"tag":71,"props":1472,"children":1474},{"className":1473},[],[1475],{"type":45,"value":1476},"database",{"type":45,"value":78},{"type":40,"tag":71,"props":1479,"children":1481},{"className":1480},[],[1482],{"type":45,"value":1483},"relation_name",{"type":45,"value":78},{"type":40,"tag":71,"props":1486,"children":1488},{"className":1487},[],[1489],{"type":45,"value":1490},"raw_code",{"type":45,"value":78},{"type":40,"tag":71,"props":1493,"children":1495},{"className":1494},[],[1496],{"type":45,"value":1497},"compiled_code",{"type":45,"value":78},{"type":40,"tag":71,"props":1500,"children":1502},{"className":1501},[],[1503],{"type":45,"value":1504},"language",{"type":45,"value":78},{"type":40,"tag":71,"props":1507,"children":1509},{"className":1508},[],[1510],{"type":45,"value":1511},"docs",{"type":45,"value":78},{"type":40,"tag":71,"props":1514,"children":1516},{"className":1515},[],[1517],{"type":45,"value":1518},"group",{"type":45,"value":78},{"type":40,"tag":71,"props":1521,"children":1523},{"className":1522},[],[1524],{"type":45,"value":1525},"access",{"type":45,"value":78},{"type":40,"tag":71,"props":1528,"children":1530},{"className":1529},[],[1531],{"type":45,"value":1532},"version",{"type":45,"value":78},{"type":40,"tag":71,"props":1535,"children":1537},{"className":1536},[],[1538],{"type":45,"value":1539},"fqn",{"type":45,"value":78},{"type":40,"tag":71,"props":1542,"children":1544},{"className":1543},[],[1545],{"type":45,"value":1546},"refs",{"type":45,"value":78},{"type":40,"tag":71,"props":1549,"children":1551},{"className":1550},[],[1552],{"type":45,"value":1553},"sources",{"type":45,"value":78},{"type":40,"tag":71,"props":1556,"children":1558},{"className":1557},[],[1559],{"type":45,"value":1560},"metrics",{"type":40,"tag":48,"props":1562,"children":1564},{"id":1563},"show",[1565],{"type":45,"value":1566},"Show",{"type":40,"tag":531,"props":1568,"children":1569},{},[1570,1572,1578,1580,1586],{"type":45,"value":1571},"Preview data with ",{"type":40,"tag":71,"props":1573,"children":1575},{"className":1574},[],[1576],{"type":45,"value":1577},"dbt show",{"type":45,"value":1579},". Use ",{"type":40,"tag":71,"props":1581,"children":1583},{"className":1582},[],[1584],{"type":45,"value":1585},"--inline",{"type":45,"value":1587}," for arbitrary SQL queries.",{"type":40,"tag":196,"props":1589,"children":1591},{"className":198,"code":1590,"language":200,"meta":201,"style":201},"dbt show --select my_model --limit 10\ndbt show --inline \"select * from {{ ref('orders') }} where status = 'pending'\" --limit 5\n",[1592],{"type":40,"tag":71,"props":1593,"children":1594},{"__ignoreMap":201},[1595,1622],{"type":40,"tag":207,"props":1596,"children":1597},{"class":209,"line":210},[1598,1602,1606,1610,1614,1618],{"type":40,"tag":207,"props":1599,"children":1600},{"style":224},[1601],{"type":45,"value":20},{"type":40,"tag":207,"props":1603,"children":1604},{"style":229},[1605],{"type":45,"value":300},{"type":40,"tag":207,"props":1607,"children":1608},{"style":229},[1609],{"type":45,"value":237},{"type":40,"tag":207,"props":1611,"children":1612},{"style":229},[1613],{"type":45,"value":242},{"type":40,"tag":207,"props":1615,"children":1616},{"style":229},[1617],{"type":45,"value":313},{"type":40,"tag":207,"props":1619,"children":1620},{"style":316},[1621],{"type":45,"value":319},{"type":40,"tag":207,"props":1623,"children":1624},{"class":209,"line":220},[1625,1629,1633,1637,1641,1646,1650,1654],{"type":40,"tag":207,"props":1626,"children":1627},{"style":224},[1628],{"type":45,"value":20},{"type":40,"tag":207,"props":1630,"children":1631},{"style":229},[1632],{"type":45,"value":300},{"type":40,"tag":207,"props":1634,"children":1635},{"style":229},[1636],{"type":45,"value":353},{"type":40,"tag":207,"props":1638,"children":1639},{"style":255},[1640],{"type":45,"value":358},{"type":40,"tag":207,"props":1642,"children":1643},{"style":229},[1644],{"type":45,"value":1645},"select * from {{ ref('orders') }} where status = 'pending'",{"type":40,"tag":207,"props":1647,"children":1648},{"style":255},[1649],{"type":45,"value":368},{"type":40,"tag":207,"props":1651,"children":1652},{"style":229},[1653],{"type":45,"value":313},{"type":40,"tag":207,"props":1655,"children":1656},{"style":316},[1657],{"type":45,"value":377},{"type":40,"tag":531,"props":1659,"children":1660},{},[1661,1666,1668,1674,1676,1682],{"type":40,"tag":63,"props":1662,"children":1663},{},[1664],{"type":45,"value":1665},"Important:",{"type":45,"value":1667}," Use ",{"type":40,"tag":71,"props":1669,"children":1671},{"className":1670},[],[1672],{"type":45,"value":1673},"--limit",{"type":45,"value":1675}," flag, not SQL ",{"type":40,"tag":71,"props":1677,"children":1679},{"className":1678},[],[1680],{"type":45,"value":1681},"LIMIT",{"type":45,"value":1683}," clause.",{"type":40,"tag":48,"props":1685,"children":1687},{"id":1686},"variables",[1688],{"type":45,"value":1689},"Variables",{"type":40,"tag":531,"props":1691,"children":1692},{},[1693,1695,1701,1702,1708],{"type":45,"value":1694},"Pass as STRING, not dict. No special characters (",{"type":40,"tag":71,"props":1696,"children":1698},{"className":1697},[],[1699],{"type":45,"value":1700},"\\",{"type":45,"value":78},{"type":40,"tag":71,"props":1703,"children":1705},{"className":1704},[],[1706],{"type":45,"value":1707},"\\n",{"type":45,"value":1709},").",{"type":40,"tag":196,"props":1711,"children":1713},{"className":198,"code":1712,"language":200,"meta":201,"style":201},"--vars 'my_var: value'                              # Single\n--vars '{\"k1\": \"v1\", \"k2\": 42, \"k3\": true}'         # Multiple (JSON)\n",[1714],{"type":40,"tag":71,"props":1715,"children":1716},{"__ignoreMap":201},[1717,1744],{"type":40,"tag":207,"props":1718,"children":1719},{"class":209,"line":210},[1720,1725,1729,1734,1739],{"type":40,"tag":207,"props":1721,"children":1722},{"style":224},[1723],{"type":45,"value":1724},"--vars",{"type":40,"tag":207,"props":1726,"children":1727},{"style":255},[1728],{"type":45,"value":258},{"type":40,"tag":207,"props":1730,"children":1731},{"style":229},[1732],{"type":45,"value":1733},"my_var: value",{"type":40,"tag":207,"props":1735,"children":1736},{"style":255},[1737],{"type":45,"value":1738},"'",{"type":40,"tag":207,"props":1740,"children":1741},{"style":214},[1742],{"type":45,"value":1743},"                              # Single\n",{"type":40,"tag":207,"props":1745,"children":1746},{"class":209,"line":220},[1747,1751,1755,1760,1764],{"type":40,"tag":207,"props":1748,"children":1749},{"style":224},[1750],{"type":45,"value":1724},{"type":40,"tag":207,"props":1752,"children":1753},{"style":255},[1754],{"type":45,"value":258},{"type":40,"tag":207,"props":1756,"children":1757},{"style":229},[1758],{"type":45,"value":1759},"{\"k1\": \"v1\", \"k2\": 42, \"k3\": true}",{"type":40,"tag":207,"props":1761,"children":1762},{"style":255},[1763],{"type":45,"value":1738},{"type":40,"tag":207,"props":1765,"children":1766},{"style":214},[1767],{"type":45,"value":1768},"         # Multiple (JSON)\n",{"type":40,"tag":48,"props":1770,"children":1772},{"id":1771},"analyzing-run-results",[1773],{"type":45,"value":1774},"Analyzing Run Results",{"type":40,"tag":531,"props":1776,"children":1777},{},[1778,1780,1786],{"type":45,"value":1779},"After a dbt command, check ",{"type":40,"tag":71,"props":1781,"children":1783},{"className":1782},[],[1784],{"type":45,"value":1785},"target\u002Frun_results.json",{"type":45,"value":1787}," for detailed execution info:",{"type":40,"tag":196,"props":1789,"children":1791},{"className":198,"code":1790,"language":200,"meta":201,"style":201},"# Quick status check\ncat target\u002Frun_results.json | jq '.results[] | {node: .unique_id, status: .status, time: .execution_time}'\n\n# Find failures\ncat target\u002Frun_results.json | jq '.results[] | select(.status != \"success\")'\n",[1792],{"type":40,"tag":71,"props":1793,"children":1794},{"__ignoreMap":201},[1795,1803,1839,1846,1854],{"type":40,"tag":207,"props":1796,"children":1797},{"class":209,"line":210},[1798],{"type":40,"tag":207,"props":1799,"children":1800},{"style":214},[1801],{"type":45,"value":1802},"# Quick status check\n",{"type":40,"tag":207,"props":1804,"children":1805},{"class":209,"line":220},[1806,1811,1816,1821,1826,1830,1835],{"type":40,"tag":207,"props":1807,"children":1808},{"style":224},[1809],{"type":45,"value":1810},"cat",{"type":40,"tag":207,"props":1812,"children":1813},{"style":229},[1814],{"type":45,"value":1815}," target\u002Frun_results.json",{"type":40,"tag":207,"props":1817,"children":1818},{"style":255},[1819],{"type":45,"value":1820}," |",{"type":40,"tag":207,"props":1822,"children":1823},{"style":224},[1824],{"type":45,"value":1825}," jq",{"type":40,"tag":207,"props":1827,"children":1828},{"style":255},[1829],{"type":45,"value":258},{"type":40,"tag":207,"props":1831,"children":1832},{"style":229},[1833],{"type":45,"value":1834},".results[] | {node: .unique_id, status: .status, time: .execution_time}",{"type":40,"tag":207,"props":1836,"children":1837},{"style":255},[1838],{"type":45,"value":268},{"type":40,"tag":207,"props":1840,"children":1841},{"class":209,"line":271},[1842],{"type":40,"tag":207,"props":1843,"children":1844},{"emptyLinePlaceholder":275},[1845],{"type":45,"value":278},{"type":40,"tag":207,"props":1847,"children":1848},{"class":209,"line":281},[1849],{"type":40,"tag":207,"props":1850,"children":1851},{"style":214},[1852],{"type":45,"value":1853},"# Find failures\n",{"type":40,"tag":207,"props":1855,"children":1856},{"class":209,"line":290},[1857,1861,1865,1869,1873,1877,1882],{"type":40,"tag":207,"props":1858,"children":1859},{"style":224},[1860],{"type":45,"value":1810},{"type":40,"tag":207,"props":1862,"children":1863},{"style":229},[1864],{"type":45,"value":1815},{"type":40,"tag":207,"props":1866,"children":1867},{"style":255},[1868],{"type":45,"value":1820},{"type":40,"tag":207,"props":1870,"children":1871},{"style":224},[1872],{"type":45,"value":1825},{"type":40,"tag":207,"props":1874,"children":1875},{"style":255},[1876],{"type":45,"value":258},{"type":40,"tag":207,"props":1878,"children":1879},{"style":229},[1880],{"type":45,"value":1881},".results[] | select(.status != \"success\")",{"type":40,"tag":207,"props":1883,"children":1884},{"style":255},[1885],{"type":45,"value":268},{"type":40,"tag":531,"props":1887,"children":1888},{},[1889],{"type":40,"tag":63,"props":1890,"children":1891},{},[1892],{"type":45,"value":1893},"Key fields:",{"type":40,"tag":1153,"props":1895,"children":1896},{},[1897,1908,1919,1929],{"type":40,"tag":59,"props":1898,"children":1899},{},[1900,1906],{"type":40,"tag":71,"props":1901,"children":1903},{"className":1902},[],[1904],{"type":45,"value":1905},"status",{"type":45,"value":1907},": success, error, fail, skipped, warn",{"type":40,"tag":59,"props":1909,"children":1910},{},[1911,1917],{"type":40,"tag":71,"props":1912,"children":1914},{"className":1913},[],[1915],{"type":45,"value":1916},"execution_time",{"type":45,"value":1918},": seconds spent executing",{"type":40,"tag":59,"props":1920,"children":1921},{},[1922,1927],{"type":40,"tag":71,"props":1923,"children":1925},{"className":1924},[],[1926],{"type":45,"value":1497},{"type":45,"value":1928},": rendered SQL",{"type":40,"tag":59,"props":1930,"children":1931},{},[1932,1938],{"type":40,"tag":71,"props":1933,"children":1935},{"className":1934},[],[1936],{"type":45,"value":1937},"adapter_response",{"type":45,"value":1939},": database metadata (rows affected, bytes processed)",{"type":40,"tag":48,"props":1941,"children":1943},{"id":1942},"defer-skip-upstream-builds",[1944],{"type":45,"value":1945},"Defer (Skip Upstream Builds)",{"type":40,"tag":531,"props":1947,"children":1948},{},[1949],{"type":45,"value":1950},"Reference production data instead of building upstream models:",{"type":40,"tag":196,"props":1952,"children":1954},{"className":198,"code":1953,"language":200,"meta":201,"style":201},"dbt build --select my_model --defer --state prod-artifacts\n",[1955],{"type":40,"tag":71,"props":1956,"children":1957},{"__ignoreMap":201},[1958],{"type":40,"tag":207,"props":1959,"children":1960},{"class":209,"line":210},[1961,1965,1969,1973,1977,1982,1987],{"type":40,"tag":207,"props":1962,"children":1963},{"style":224},[1964],{"type":45,"value":20},{"type":40,"tag":207,"props":1966,"children":1967},{"style":229},[1968],{"type":45,"value":232},{"type":40,"tag":207,"props":1970,"children":1971},{"style":229},[1972],{"type":45,"value":237},{"type":40,"tag":207,"props":1974,"children":1975},{"style":229},[1976],{"type":45,"value":242},{"type":40,"tag":207,"props":1978,"children":1979},{"style":229},[1980],{"type":45,"value":1981}," --defer",{"type":40,"tag":207,"props":1983,"children":1984},{"style":229},[1985],{"type":45,"value":1986}," --state",{"type":40,"tag":207,"props":1988,"children":1989},{"style":229},[1990],{"type":45,"value":1991}," prod-artifacts\n",{"type":40,"tag":531,"props":1993,"children":1994},{},[1995],{"type":40,"tag":63,"props":1996,"children":1997},{},[1998],{"type":45,"value":1999},"Flags:",{"type":40,"tag":1153,"props":2001,"children":2002},{},[2003,2014,2025],{"type":40,"tag":59,"props":2004,"children":2005},{},[2006,2012],{"type":40,"tag":71,"props":2007,"children":2009},{"className":2008},[],[2010],{"type":45,"value":2011},"--defer",{"type":45,"value":2013}," - enable deferral to state manifest",{"type":40,"tag":59,"props":2015,"children":2016},{},[2017,2023],{"type":40,"tag":71,"props":2018,"children":2020},{"className":2019},[],[2021],{"type":45,"value":2022},"--state \u003Cpath>",{"type":45,"value":2024}," - path to manifest from previous run (e.g., production artifacts)",{"type":40,"tag":59,"props":2026,"children":2027},{},[2028,2034],{"type":40,"tag":71,"props":2029,"children":2031},{"className":2030},[],[2032],{"type":45,"value":2033},"--favor-state",{"type":45,"value":2035}," - prefer node definitions from state even if they exist locally",{"type":40,"tag":196,"props":2037,"children":2039},{"className":198,"code":2038,"language":200,"meta":201,"style":201},"dbt build --select my_model --defer --state prod-artifacts --favor-state\n",[2040],{"type":40,"tag":71,"props":2041,"children":2042},{"__ignoreMap":201},[2043],{"type":40,"tag":207,"props":2044,"children":2045},{"class":209,"line":210},[2046,2050,2054,2058,2062,2066,2070,2075],{"type":40,"tag":207,"props":2047,"children":2048},{"style":224},[2049],{"type":45,"value":20},{"type":40,"tag":207,"props":2051,"children":2052},{"style":229},[2053],{"type":45,"value":232},{"type":40,"tag":207,"props":2055,"children":2056},{"style":229},[2057],{"type":45,"value":237},{"type":40,"tag":207,"props":2059,"children":2060},{"style":229},[2061],{"type":45,"value":242},{"type":40,"tag":207,"props":2063,"children":2064},{"style":229},[2065],{"type":45,"value":1981},{"type":40,"tag":207,"props":2067,"children":2068},{"style":229},[2069],{"type":45,"value":1986},{"type":40,"tag":207,"props":2071,"children":2072},{"style":229},[2073],{"type":45,"value":2074}," prod-artifacts",{"type":40,"tag":207,"props":2076,"children":2077},{"style":229},[2078],{"type":45,"value":2079}," --favor-state\n",{"type":40,"tag":48,"props":2081,"children":2083},{"id":2082},"static-analysis-fusion-only",[2084],{"type":45,"value":2085},"Static Analysis (Fusion Only)",{"type":40,"tag":531,"props":2087,"children":2088},{},[2089],{"type":45,"value":2090},"Override SQL analysis for models with dynamic SQL or unrecognized UDFs:",{"type":40,"tag":196,"props":2092,"children":2094},{"className":198,"code":2093,"language":200,"meta":201,"style":201},"dbt run --static-analysis=off\ndbt run --static-analysis=unsafe\n",[2095],{"type":40,"tag":71,"props":2096,"children":2097},{"__ignoreMap":201},[2098,2115],{"type":40,"tag":207,"props":2099,"children":2100},{"class":209,"line":210},[2101,2105,2110],{"type":40,"tag":207,"props":2102,"children":2103},{"style":224},[2104],{"type":45,"value":20},{"type":40,"tag":207,"props":2106,"children":2107},{"style":229},[2108],{"type":45,"value":2109}," run",{"type":40,"tag":207,"props":2111,"children":2112},{"style":229},[2113],{"type":45,"value":2114}," --static-analysis=off\n",{"type":40,"tag":207,"props":2116,"children":2117},{"class":209,"line":220},[2118,2122,2126],{"type":40,"tag":207,"props":2119,"children":2120},{"style":224},[2121],{"type":45,"value":20},{"type":40,"tag":207,"props":2123,"children":2124},{"style":229},[2125],{"type":45,"value":2109},{"type":40,"tag":207,"props":2127,"children":2128},{"style":229},[2129],{"type":45,"value":2130}," --static-analysis=unsafe\n",{"type":40,"tag":48,"props":2132,"children":2134},{"id":2133},"common-mistakes",[2135],{"type":45,"value":2136},"Common Mistakes",{"type":40,"tag":542,"props":2138,"children":2139},{},[2140,2156],{"type":40,"tag":546,"props":2141,"children":2142},{},[2143],{"type":40,"tag":550,"props":2144,"children":2145},{},[2146,2151],{"type":40,"tag":554,"props":2147,"children":2148},{},[2149],{"type":45,"value":2150},"Mistake",{"type":40,"tag":554,"props":2152,"children":2153},{},[2154],{"type":45,"value":2155},"Fix",{"type":40,"tag":570,"props":2157,"children":2158},{},[2159,2185,2203,2227,2257,2278,2303],{"type":40,"tag":550,"props":2160,"children":2161},{},[2162,2174],{"type":40,"tag":577,"props":2163,"children":2164},{},[2165,2167,2172],{"type":45,"value":2166},"Using ",{"type":40,"tag":71,"props":2168,"children":2170},{"className":2169},[],[2171],{"type":45,"value":140},{"type":45,"value":2173}," after model change",{"type":40,"tag":577,"props":2175,"children":2176},{},[2177,2178,2183],{"type":45,"value":1199},{"type":40,"tag":71,"props":2179,"children":2181},{"className":2180},[],[2182],{"type":45,"value":107},{"type":45,"value":2184}," - test doesn't refresh the model",{"type":40,"tag":550,"props":2186,"children":2187},{},[2188,2198],{"type":40,"tag":577,"props":2189,"children":2190},{},[2191,2193],{"type":45,"value":2192},"Running without ",{"type":40,"tag":71,"props":2194,"children":2196},{"className":2195},[],[2197],{"type":45,"value":186},{"type":40,"tag":577,"props":2199,"children":2200},{},[2201],{"type":45,"value":2202},"Always specify what to run",{"type":40,"tag":550,"props":2204,"children":2205},{},[2206,2217],{"type":40,"tag":577,"props":2207,"children":2208},{},[2209,2210,2215],{"type":45,"value":2166},{"type":40,"tag":71,"props":2211,"children":2213},{"className":2212},[],[2214],{"type":45,"value":163},{"type":45,"value":2216}," without warn-error",{"type":40,"tag":577,"props":2218,"children":2219},{},[2220,2222],{"type":45,"value":2221},"Add ",{"type":40,"tag":71,"props":2223,"children":2225},{"className":2224},[],[2226],{"type":45,"value":171},{"type":40,"tag":550,"props":2228,"children":2229},{},[2230,2242],{"type":40,"tag":577,"props":2231,"children":2232},{},[2233,2235,2240],{"type":45,"value":2234},"Running ",{"type":40,"tag":71,"props":2236,"children":2238},{"className":2237},[],[2239],{"type":45,"value":20},{"type":45,"value":2241}," expecting Fusion when we are in a venv",{"type":40,"tag":577,"props":2243,"children":2244},{},[2245,2246,2251,2252],{"type":45,"value":1199},{"type":40,"tag":71,"props":2247,"children":2249},{"className":2248},[],[2250],{"type":45,"value":633},{"type":45,"value":600},{"type":40,"tag":71,"props":2253,"children":2255},{"className":2254},[],[2256],{"type":45,"value":626},{"type":40,"tag":550,"props":2258,"children":2259},{},[2260,2265],{"type":40,"tag":577,"props":2261,"children":2262},{},[2263],{"type":45,"value":2264},"Schema errors after changing files in Fusion",{"type":40,"tag":577,"props":2266,"children":2267},{},[2268,2270,2276],{"type":45,"value":2269},"Run ",{"type":40,"tag":71,"props":2271,"children":2273},{"className":2272},[],[2274],{"type":45,"value":2275},"dbt clean",{"type":45,"value":2277}," to clear the stale schema cache, then re-run",{"type":40,"tag":550,"props":2279,"children":2280},{},[2281,2291],{"type":40,"tag":577,"props":2282,"children":2283},{},[2284,2286],{"type":45,"value":2285},"Adding LIMIT to SQL in ",{"type":40,"tag":71,"props":2287,"children":2289},{"className":2288},[],[2290],{"type":45,"value":91},{"type":40,"tag":577,"props":2292,"children":2293},{},[2294,2295,2301],{"type":45,"value":1199},{"type":40,"tag":71,"props":2296,"children":2298},{"className":2297},[],[2299],{"type":45,"value":2300},"limit",{"type":45,"value":2302}," parameter instead",{"type":40,"tag":550,"props":2304,"children":2305},{},[2306,2311],{"type":40,"tag":577,"props":2307,"children":2308},{},[2309],{"type":45,"value":2310},"Vars with special characters",{"type":40,"tag":577,"props":2312,"children":2313},{},[2314,2316,2321,2322],{"type":45,"value":2315},"Pass as simple string, no ",{"type":40,"tag":71,"props":2317,"children":2319},{"className":2318},[],[2320],{"type":45,"value":1700},{"type":45,"value":600},{"type":40,"tag":71,"props":2323,"children":2325},{"className":2324},[],[2326],{"type":45,"value":1707},{"type":40,"tag":2328,"props":2329,"children":2330},"style",{},[2331],{"type":45,"value":2332},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2334,"total":485},[2335,2349,2368,2379,2393,2410,2422,2437,2450,2456,2468,2479],{"slug":2336,"name":2336,"fn":2337,"description":2338,"org":2339,"tags":2340,"stars":21,"repoUrl":22,"updatedAt":2348},"adding-dbt-unit-test","add dbt unit tests","Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs. Use when adding unit tests for a dbt model or practicing test-driven development (TDD) in dbt.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2341,2342,2345],{"name":20,"slug":20,"type":15},{"name":2343,"slug":2344,"type":15},"Testing","testing",{"name":2346,"slug":2347,"type":15},"YAML","yaml","2026-04-06T18:09:14.01391",{"slug":2350,"name":2350,"fn":2351,"description":2352,"org":2353,"tags":2354,"stars":21,"repoUrl":22,"updatedAt":2367},"answering-natural-language-questions-with-dbt","answer business questions using dbt Semantic Layer","Writes and executes SQL queries against the data warehouse using dbt's Semantic Layer or ad-hoc SQL to answer business questions. Use when a user asks about analytics, metrics, KPIs, or data (e.g., \"What were total sales last quarter?\", \"Show me top customers by revenue\"). NOT for validating, testing, or building dbt models during development.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2355,2358,2361,2362,2364],{"name":2356,"slug":2357,"type":15},"Analytics","analytics",{"name":2359,"slug":2360,"type":15},"Data Analysis","data-analysis",{"name":20,"slug":20,"type":15},{"name":2363,"slug":1560,"type":15},"Metrics",{"name":2365,"slug":2366,"type":15},"SQL","sql","2026-04-06T18:09:07.651959",{"slug":2369,"name":2369,"fn":2370,"description":2371,"org":2372,"tags":2373,"stars":21,"repoUrl":22,"updatedAt":2378},"building-dbt-semantic-layer","build dbt Semantic Layer components","Use when creating or modifying dbt Semantic Layer components — semantic models, metrics, dimensions, entities, measures, or time spines. Covers MetricFlow configuration, metric types (simple, derived, cumulative, ratio, conversion), and validation for both latest and legacy YAML specs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2374,2375,2376,2377],{"name":2356,"slug":2357,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":20,"type":15},{"name":2363,"slug":1560,"type":15},"2026-07-18T05:12:20.387564",{"slug":2380,"name":2380,"fn":2381,"description":2382,"org":2383,"tags":2384,"stars":21,"repoUrl":22,"updatedAt":2392},"configuring-dbt-mcp-server","configure dbt MCP server","Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt. Use when setting up, configuring, or troubleshooting the dbt MCP server for AI tools like Claude Desktop, Claude Code, Cursor, or VS Code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2385,2388,2389],{"name":2386,"slug":2387,"type":15},"Agent Context","agent-context",{"name":20,"slug":20,"type":15},{"name":2390,"slug":2391,"type":15},"MCP","mcp","2026-04-06T18:09:12.757804",{"slug":2394,"name":2394,"fn":2395,"description":2396,"org":2397,"tags":2398,"stars":21,"repoUrl":22,"updatedAt":2409},"creating-mermaid-dbt-dag","generate Mermaid diagrams of dbt model lineage","Generates a Mermaid flowchart diagram of dbt model lineage using MCP tools, manifest.json, or direct code parsing as fallbacks. Use when visualizing dbt model lineage and dependencies as a Mermaid diagram in markdown format.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2399,2402,2403,2406],{"name":2400,"slug":2401,"type":15},"Data Pipeline","data-pipeline",{"name":20,"slug":20,"type":15},{"name":2404,"slug":2405,"type":15},"Diagrams","diagrams",{"name":2407,"slug":2408,"type":15},"Documentation","documentation","2026-04-06T18:09:15.270247",{"slug":2411,"name":2411,"fn":2412,"description":2413,"org":2414,"tags":2415,"stars":21,"repoUrl":22,"updatedAt":2421},"fetching-dbt-docs","search dbt documentation","Retrieves and searches dbt documentation pages in LLM-friendly markdown format. Use when fetching dbt documentation, looking up dbt features, or answering questions about dbt Cloud, dbt Core, or the dbt Semantic Layer.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2416,2417,2418],{"name":20,"slug":20,"type":15},{"name":2407,"slug":2408,"type":15},{"name":2419,"slug":2420,"type":15},"Reference","reference","2026-04-06T18:09:06.36975",{"slug":2423,"name":2423,"fn":2424,"description":2425,"org":2426,"tags":2427,"stars":21,"repoUrl":22,"updatedAt":2436},"migrating-dbt-core-to-fusion","triage dbt-core to Fusion migration errors","Use when a user needs help triaging dbt-core to Fusion migration errors. Runs dbt-autofix first, then classifies remaining errors into actionable categories (auto-fixable, guided fixes, needs input, blocked).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2428,2429,2430,2433],{"name":13,"slug":14,"type":15},{"name":20,"slug":20,"type":15},{"name":2431,"slug":2432,"type":15},"Migration","migration",{"name":2434,"slug":2435,"type":15},"Triage","triage","2026-04-06T18:09:01.250175",{"slug":2438,"name":2438,"fn":2439,"description":2440,"org":2441,"tags":2442,"stars":21,"repoUrl":22,"updatedAt":2449},"migrating-dbt-project-across-platforms","migrate dbt projects across data platforms","Use when migrating a dbt project from one data platform or data warehouse to another (e.g., Snowflake to Databricks, Databricks to Snowflake) using dbt Fusion's real-time compilation to identify and fix SQL dialect differences.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2443,2444,2446,2447,2448],{"name":13,"slug":14,"type":15},{"name":2445,"slug":1476,"type":15},"Database",{"name":20,"slug":20,"type":15},{"name":2431,"slug":2432,"type":15},{"name":2365,"slug":2366,"type":15},"2026-04-06T18:09:02.513828",{"slug":4,"name":4,"fn":5,"description":6,"org":2451,"tags":2452,"stars":21,"repoUrl":22,"updatedAt":23},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2453,2454,2455],{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":20,"type":15},{"slug":2457,"name":2457,"fn":2458,"description":2459,"org":2460,"tags":2461,"stars":21,"repoUrl":22,"updatedAt":2467},"troubleshooting-dbt-job-errors","troubleshoot dbt job errors","Diagnoses dbt Cloud\u002Fplatform job failures by analyzing run logs, querying the Admin API, reviewing git history, and investigating data issues. Use when a dbt Cloud\u002Fplatform job fails and you need to diagnose the root cause, especially when error messages are unclear or when intermittent failures occur. Do not use for local dbt development errors.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2462,2463,2464],{"name":2400,"slug":2401,"type":15},{"name":20,"slug":20,"type":15},{"name":2465,"slug":2466,"type":15},"Debugging","debugging","2026-04-06T18:09:05.065669",{"slug":2469,"name":2469,"fn":2470,"description":2471,"org":2472,"tags":2473,"stars":21,"repoUrl":22,"updatedAt":2478},"using-dbt-for-analytics-engineering","build dbt models and tests","Builds and modifies dbt models, writes SQL transformations using ref() and source(), creates tests, and validates results with dbt show. Use when doing any dbt work - building or modifying models, debugging errors, exploring unfamiliar data sources, writing tests, or evaluating impact of changes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2474,2475,2476,2477],{"name":2356,"slug":2357,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":20,"type":15},{"name":2365,"slug":2366,"type":15},"2026-04-06T18:09:11.455851",{"slug":2480,"name":2480,"fn":2481,"description":2482,"org":2483,"tags":2484,"stars":21,"repoUrl":22,"updatedAt":2491},"using-dbt-state","configure and optimize dbt state","Use when a user is enabling, configuring, optimizing, or debugging dbt State (the server-backed reuse mechanism that clones or skips nodes instead of rebuilding them). Use when they conflate dbt State with the `state:modified` selector or `--state` deferral. Use when asked about models rebuilding unexpectedly, views with `select *` rebuilding, volatile SQL (`current_timestamp()`, `random()`) rebuilding or not, cross-developer cloning, lag_tolerance.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2485,2486,2487,2488],{"name":13,"slug":14,"type":15},{"name":2400,"slug":2401,"type":15},{"name":20,"slug":20,"type":15},{"name":2489,"slug":2490,"type":15},"Performance","performance","2026-06-25T07:12:16.623154",{"items":2493,"total":443},[2494,2500,2508,2515,2521,2528,2534],{"slug":2336,"name":2336,"fn":2337,"description":2338,"org":2495,"tags":2496,"stars":21,"repoUrl":22,"updatedAt":2348},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2497,2498,2499],{"name":20,"slug":20,"type":15},{"name":2343,"slug":2344,"type":15},{"name":2346,"slug":2347,"type":15},{"slug":2350,"name":2350,"fn":2351,"description":2352,"org":2501,"tags":2502,"stars":21,"repoUrl":22,"updatedAt":2367},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2503,2504,2505,2506,2507],{"name":2356,"slug":2357,"type":15},{"name":2359,"slug":2360,"type":15},{"name":20,"slug":20,"type":15},{"name":2363,"slug":1560,"type":15},{"name":2365,"slug":2366,"type":15},{"slug":2369,"name":2369,"fn":2370,"description":2371,"org":2509,"tags":2510,"stars":21,"repoUrl":22,"updatedAt":2378},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2511,2512,2513,2514],{"name":2356,"slug":2357,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":20,"type":15},{"name":2363,"slug":1560,"type":15},{"slug":2380,"name":2380,"fn":2381,"description":2382,"org":2516,"tags":2517,"stars":21,"repoUrl":22,"updatedAt":2392},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2518,2519,2520],{"name":2386,"slug":2387,"type":15},{"name":20,"slug":20,"type":15},{"name":2390,"slug":2391,"type":15},{"slug":2394,"name":2394,"fn":2395,"description":2396,"org":2522,"tags":2523,"stars":21,"repoUrl":22,"updatedAt":2409},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2524,2525,2526,2527],{"name":2400,"slug":2401,"type":15},{"name":20,"slug":20,"type":15},{"name":2404,"slug":2405,"type":15},{"name":2407,"slug":2408,"type":15},{"slug":2411,"name":2411,"fn":2412,"description":2413,"org":2529,"tags":2530,"stars":21,"repoUrl":22,"updatedAt":2421},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2531,2532,2533],{"name":20,"slug":20,"type":15},{"name":2407,"slug":2408,"type":15},{"name":2419,"slug":2420,"type":15},{"slug":2423,"name":2423,"fn":2424,"description":2425,"org":2535,"tags":2536,"stars":21,"repoUrl":22,"updatedAt":2436},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2537,2538,2539,2540],{"name":13,"slug":14,"type":15},{"name":20,"slug":20,"type":15},{"name":2431,"slug":2432,"type":15},{"name":2434,"slug":2435,"type":15}]