You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/macros/sqlmesh_macros.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1608,7 +1608,7 @@ def add_args(
1608
1608
return argument_1 + argument_2 + argument_3
1609
1609
```
1610
1610
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`).
1612
1612
1613
1613
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.
Copy file name to clipboardExpand all lines: docs/concepts/models/model_kinds.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -583,7 +583,7 @@ MODEL (
583
583
584
584
### When Matched Expression
585
585
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:
587
587
588
588
```sql linenums="1" hl_lines="5"
589
589
MODEL (
@@ -1437,7 +1437,7 @@ GROUP BY
1437
1437
1438
1438
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.
1439
1439
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.
Copy file name to clipboardExpand all lines: docs/guides/linter.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ Here are all of SQLMesh's built-in linting rules:
74
74
|`invalidselectstarexpansion`| Correctness | The query's top-level selection may be `SELECT *`, but only if SQLMesh can expand the `SELECT *` into individual columns |
75
75
|`noselectstar`| Stylistic | The query's top-level selection may not be `SELECT *`, even if SQLMesh can expand the `SELECT *` into individual columns |
76
76
|`nomissingaudits`| Governance | SQLMesh did not find any `audits` in the model's configuration to test data quality. |
77
+
|`nomissingunittest`| Governance | SQLMesh did not find any `unit tests` associated with the model to test |
Copy file name to clipboardExpand all lines: docs/guides/ui.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ You may include all a project's models by clicking `All` in the Show drop-down o
225
225
226
226
{ loading=lazy }
227
227
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:
229
229
230
230
{ loading=lazy }
0 commit comments