Skip to content

Commit

Permalink
Update website/docs/reference/resource-properties/concurrent_batches.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nataliefiann authored Dec 6, 2024
1 parent 14f61ec commit e2cc0b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ select ...
`concurrent_batches` is an override which allows users to decide whether or not they want to run their batches in parallel or sequentially (one at a time).

For more information, refer to [how batch execution works](/docs/build/incremental-microbatch#how-parallel-batch-execution-works).

## Parallel batch execution
## [`{{ this }}`](/reference/dbt-jinja-functions/this)

dbt automatically detects if a model uses the `{{ this }}` Jinja function. When `{{ this }}` is referenced, the batches execute sequentially because `{{ this }}` points to the current model's database relation, and referencing the same relation can lead to conflicts. If `{{ this }}` is not detected, and the concurrent_batches value is not explicitly set (along with other conditions being met), the batches will execute in parallel.

Check warning on line 53 in website/docs/reference/resource-properties/concurrent_batches.md

View workflow job for this annotation

GitHub Actions / vale

[vale] website/docs/reference/resource-properties/concurrent_batches.md#L53

[custom.Typos] Oops there's a typo -- did you really mean 'concurrent_batches'?
Raw output
{"message": "[custom.Typos] Oops there's a typo -- did you really mean 'concurrent_batches'? ", "location": {"path": "website/docs/reference/resource-properties/concurrent_batches.md", "range": {"start": {"line": 53, "column": 310}}}, "severity": "WARNING"}
Expand Down

0 comments on commit e2cc0b2

Please sign in to comment.