Skip to content

Commit ad2d113

Browse files
latent-9mday-io
andauthored
docs: fix doubled words and a misspelling in the docs (#5946)
Signed-off-by: latent-9 <296084221+latent-9@users.noreply.github.com> Co-authored-by: mday-io <mdaytn@gmail.com>
1 parent b0862ae commit ad2d113

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/concepts/macros/sqlmesh_macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ def add_args(
16081608
return argument_1 + argument_2 + argument_3
16091609
```
16101610

1611-
An `@add_args` call providing values for all arguments accepts positional arguments like this: `@add_args(5, 6, 7)` (which returns 5 + 6 + 7 = `18`). A call omitting and using the default value for the the final `argument_3` can also use positional arguments: `@add_args(5, 6)` (which returns 5 + 6 + 3 = `14`).
1611+
An `@add_args` call providing values for all arguments accepts positional arguments like this: `@add_args(5, 6, 7)` (which returns 5 + 6 + 7 = `18`). A call omitting and using the default value for the final `argument_3` can also use positional arguments: `@add_args(5, 6)` (which returns 5 + 6 + 3 = `14`).
16121612

16131613
However, skipping an argument requires specifying the names of subsequent arguments (i.e., using "keyword arguments"). For example, skipping the second argument above by just omitting it - `@add_args(5, , 7)` - results in an error.
16141614

docs/concepts/models/model_kinds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ MODEL (
583583

584584
### When Matched Expression
585585

586-
The logic to use when updating columns when a match occurs (the source and target match on the given keys) by default updates all the columns. This can be overriden with custom logic like below:
586+
The logic to use when updating columns when a match occurs (the source and target match on the given keys) by default updates all the columns. This can be overridden with custom logic like below:
587587

588588
```sql linenums="1" hl_lines="5"
589589
MODEL (
@@ -1437,7 +1437,7 @@ GROUP BY
14371437

14381438
SCD Type 2 models are designed by default to protect the data that has been captured because it is not possible to recreate the history once it has been lost.
14391439
However, there are cases where you may want to clear the history and start fresh.
1440-
For this use use case you will want to start by setting `disable_restatement` to `false` in the model definition.
1440+
For this use case you will want to start by setting `disable_restatement` to `false` in the model definition.
14411441

14421442
```sql linenums="1" hl_lines="5"
14431443
MODEL (

docs/guides/ui.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ You may include all a project's models by clicking `All` in the Show drop-down o
225225

226226
![Lineage module - all models](./ui/ui-guide_lineage-all.png){ loading=lazy }
227227

228-
Click `Connected` in the Show drop-down menu to highlight edges between upstream parents and downstream children in blue. This may be helpful when when a project contains many models:
228+
Click `Connected` in the Show drop-down menu to highlight edges between upstream parents and downstream children in blue. This may be helpful when a project contains many models:
229229

230230
![Lineage module - all models, connected edges](./ui/ui-guide_lineage-all-connected.png){ loading=lazy }
231231

docs/quickstart/notebook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ You've now created a new production environment with all of history backfilled.
248248

249249
## 3. Update a model
250250

251-
Now that we have have populated the `prod` environment, let's modify one of the SQL models.
251+
Now that we have populated the `prod` environment, let's modify one of the SQL models.
252252

253253
We can modify the incremental SQL model using the `%model` *line* notebook magic (note the single `%`) and the model name:
254254

0 commit comments

Comments
 (0)