Skip to content

Commit

Permalink
Fix documentation about of batch_size supported values and default
Browse files Browse the repository at this point in the history
Our docs stated that we only support `day`, but we support `hour`, `day`,
`month`, and `year`. Our docs also stated that `batch_size` will be defaulted
to `day`. This is not true, it is a required value and will not be defaulted.
  • Loading branch information
QMalcolm committed Oct 15, 2024
1 parent a46288f commit 7b8fb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/docs/build/incremental-microbatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ Several configurations are relevant to microbatch models, and some are required:
|----------|------|---------------|---------|
| `event_time` | Column (required) | The column indicating "at what time did the row occur." Required for your microbatch model and any direct parents that should be filtered. | N/A |
| `begin` | Date (required) | The "beginning of time" for the microbatch model. This is the starting point for any initial or full-refresh builds. For example, a daily-grain microbatch model run on `2024-10-01` with `begin = '2023-10-01` will process 366 batches (it's a leap year!) plus the batch for "today." | N/A |
| `batch_size` | String (required) | The granularity of your batches. The default is `day` (and currently this is the only granularity supported). | `day` |
| `batch_size` | String (required) | The granularity of your batches. Supported values are `hour`, `day`, `month`, and `year` | N/A |
| `lookback` | Integer (optional) | Process X batches prior to the latest bookmark to capture late-arriving records. | `0` |

<Lightbox src="/img/docs/building-a-dbt-project/microbatch/event_time.png" title="The event_time column configures the real-world time of this record"/>
Expand Down

0 comments on commit 7b8fb37

Please sign in to comment.