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/integrations/dlt.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,28 @@ This will create the configuration file and directories, which are found in all
28
28
29
29
SQLMesh will also automatically generate models to ingest data from the pipeline incrementally. Incremental loading is ideal for large datasets where recomputing entire tables is resource-intensive. In this case utilizing the [`INCREMENTAL_BY_TIME_RANGE` model kind](../concepts/models/model_kinds.md#incremental_by_time_range). However, these model definitions can be customized to meet your specific project needs.
30
30
31
+
### Generating models on demand
32
+
33
+
To update the models in your SQLMesh project on demand, use the `dlt_refresh` command. This allows you to either specify individual tables to generate incremental models from or update all models at once.
34
+
35
+
-**Generate all missing tables**:
36
+
37
+
```bash
38
+
$ sqlmesh dlt_refresh <pipeline-name>
39
+
```
40
+
41
+
-**Generate all missing tables and overwrite existing ones** (use with `--force` or `-f`):
42
+
43
+
```bash
44
+
$ sqlmesh dlt_refresh <pipeline-name> --force
45
+
```
46
+
47
+
-**Generate specific dlt tables** (using `--table` or `-t`):
SQLMesh will retrieve the data warehouse connection credentials from your dlt project to configure the `config.yaml` file. This configuration can be modified or customized as needed. For more details, refer to the [configuration guide](../guides/configuration.md).
0 commit comments