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/models/model_kinds.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -506,7 +506,7 @@ WHERE
506
506
CREATE TABLE IF NOT EXISTS `sqlmesh-public-demo`.`sqlmesh__demo`.`demo__incremental_by_unique_key_example__1161945221` (`id` INT64, `item_id` INT64, `event_date` DATE)
507
507
```
508
508
509
-
SQLMesh will validate the model's query before processing data (note the `FALSE LIMIT 0` in the `WHERE` statement and the placeholder dates).
509
+
SQLMesh will validate the model's query before processing data (note the `FALSE LIMIT 0` in the `WHERE` statement and the placeholder dates).
510
510
511
511
```sql
512
512
SELECT `seed_model`.`id` AS `id`, `seed_model`.`item_id` AS `item_id`, `seed_model`.`event_date` AS `event_date`
@@ -682,13 +682,13 @@ GROUP BY title;
682
682
item_id
683
683
```
684
684
685
-
SQLMesh will execute this SQL to create a versioned table in the physical layer. Note that the table's version fingerprint, `2345651858`, is part of the table name.
685
+
SQLMesh will execute this SQL to create a versioned table in the physical layer. Note that the table's version fingerprint, `2345651858`, is part of the table name.
686
686
687
687
```sql
688
688
CREATE TABLE IF NOT EXISTS `sqlmesh-public-demo`.`sqlmesh__demo`.`demo__full_model_example__2345651858` (`item_id` INT64, `num_orders` INT64)
689
689
```
690
690
691
-
SQLMesh will validate the model's query before processing data (note the `WHERE FALSE` and `LIMIT 0`).
691
+
SQLMesh will validate the model's query before processing data (note the `WHERE FALSE` and `LIMIT 0`).
692
692
693
693
```sql
694
694
SELECT `incremental_model`.`item_id` AS `item_id`, COUNT(DISTINCT `incremental_model`.`id`) AS `num_orders`
@@ -772,7 +772,7 @@ FROM db.employees;
772
772
'hello there' as a_column
773
773
```
774
774
775
-
SQLMesh will execute this SQL to create a versioned view in the physical layer. Note that the view's version fingerprint, `1024042926`, is part of the view name.
775
+
SQLMesh will execute this SQL to create a versioned view in the physical layer. Note that the view's version fingerprint, `1024042926`, is part of the view name.
776
776
777
777
```sql
778
778
CREATE OR REPLACE VIEW `sqlmesh-public-demo`.`sqlmesh__demo`.`demo__example_view__1024042926`
@@ -858,7 +858,7 @@ The `SEED` model kind is used to specify [seed models](./seed_models.md) for usi
858
858
)
859
859
```
860
860
861
-
SQLMesh will execute this SQL to create a versioned table in the physical layer. Note that the table's version fingerprint, `3038173937`, is part of the table name.
861
+
SQLMesh will execute this SQL to create a versioned table in the physical layer. Note that the table's version fingerprint, `3038173937`, is part of the table name.
862
862
863
863
```sql
864
864
CREATE TABLE IF NOT EXISTS `sqlmesh-public-demo`.`sqlmesh__demo`.`demo__seed_example__3038173937` (`id` INT64, `item_id` INT64, `event_date` DATE)
0 commit comments