Skip to content

Commit 4a66d07

Browse files
committed
chore(docs): update interval unit
1 parent 9d7f089 commit 4a66d07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/concepts/models/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Name is ***required*** and must be ***unique***.
9292
- Cron is used to schedule your model to process or refresh at a certain interval. It uses [croniter](https://github.com/kiorky/croniter) under the hood, so expressions such as `@daily` can be used.
9393

9494
### interval_unit
95-
- Interval unit determines the granularity of data intervals for this model. By default the interval unit is automatically derived from the `cron` expression. Supported values are: `year`, `month`, `day`, `hour` and `minute`.
95+
- Interval unit determines the granularity of data intervals for this model. By default the interval unit is automatically derived from the `cron` expression. Supported values are: `year`, `month`, `day`, `hour`, `half_hour`, `quarter_hour`, and `five_minute`.
9696

9797
### tags
9898
- Tags are one or more labels used to organize your models.

docs/reference/model_configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Configuration options for SQLMesh model properties supported by all model kinds.
1717
| `stamp` | Arbitrary string used to indicate a model's version without changing the model name | str | N |
1818
| `tags` | Arbitrary strings used to organize or classify a model | array[str] | N |
1919
| `cron` | The default cron expression specifying how often the model should be refreshed. (Default: `@daily`) | str | N |
20-
| `interval_unit` | The temporal granularity of the model's data intervals. Supported values: `year`, `month`, `day`, `hour`, `minute`. (Default: inferred from `cron`) | str | N |
20+
| `interval_unit` | The temporal granularity of the model's data intervals. Supported values: `year`, `month`, `day`, `hour`, `half_hour`, `quarter_hour`, `five_minute`. (Default: inferred from `cron`) | str | N |
2121
| `start` | The date/time that determines the earliest date interval that should be processed by a model. Can be a datetime string, epoch time in milliseconds, or a relative datetime such as `1 year ago`. | str \| int | N |
2222
| `batch_size` | The maximum number of intervals that can be evaluated in a single backfill task. If this is `None`, all intervals will be processed as part of a single task. If this is set, a model's backfill will be chunked such that each individual task only contains jobs with the maximum of `batch_size` intervals. (Default: `None`) | int | N |
2323
| `grains` | The column(s) whose combination uniquely identifies each row in the model | str \| array[str] | N |
@@ -99,4 +99,4 @@ Configuration options for [SCD Type 2 models](../concepts/models/model_kinds.md#
9999
| `valid_to_name` | The model column containing each row's valid to date. (Default: `valid_to`) | str | N |
100100
| `updated_at_name` | The model column containing each row's updated at date. (Default: `updated_at`) | str | N |
101101
| `forward_only` | Whether the model's changes should always be classified as [forward-only](../concepts/plans.md#forward-only-change). (Default: `True`) | bool | N |
102-
| `disable_restatement` | Whether [restatements](../concepts/plans.md#restatement-plans) should be disabled for the model. (Default: `True`) | bool | N |
102+
| `disable_restatement` | Whether [restatements](../concepts/plans.md#restatement-plans) should be disabled for the model. (Default: `True`) | bool | N |

0 commit comments

Comments
 (0)