Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move configs to models subfolder #6868

Merged
merged 14 commits into from
Feb 5, 2025
Merged

Conversation

mirnawong1
Copy link
Contributor

@mirnawong1 mirnawong1 commented Feb 4, 2025

@mirnawong1 mirnawong1 requested a review from a team as a code owner February 4, 2025 20:29
Copy link

vercel bot commented Feb 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Feb 5, 2025 3:59pm

@github-actions github-actions bot added content Improvements or additions to content size: medium This change will take up to a week to address Docs team Authored by the Docs team @dbt Labs labels Feb 4, 2025
@@ -3,14 +3,14 @@ title: "lookback"
id: "lookback"
sidebar_label: "lookback"
resource_types: [models]
description: "dbt uses `lookback` to detrmine how many 'batches' of `batch_size` to reprocesses when a microbatch incremental model is running incrementally."
description: "dbt uses `lookback` to determine how many 'batches' of `batch_size` to reprocess when a microbatch incremental model is running incrementally."
datatype: int
---

<VersionCallout version="1.9" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't need to be addressed with this PR but this renders as "Available from dbt v1.9 or with the dbt Cloud "Latest" release track" but the "Compatible" release track is v1.9, so wouldn't it be available there too? Maybe I'm overanalyzing, but it seems confusing

Suggested change
<VersionCallout version="1.9" />
<VersionCallout version="1.9" />

datatype: int
---

<VersionCallout version="1.9" />
## Definition

Set the `lookback` to an integer greater than or equal to zero. The default value is `1`. You can configure `lookback` for a [model](/docs/build/models) in your `dbt_project.yml` file, property YAML file, or config block.
Set the `lookback` to an integer greater than or equal to zero. The default value is `1`. You can configure `lookback` for a [microbatch incremental model](/docs/build/incremental-microbatch) in your `dbt_project.yml` file, property YAML file, or config block.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe nitpicking but this section doesn't actually define what "lookback" is.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah i didn't write this and i think it was merged in this pr that you worked with Quigley on but i'm happy to define it in this pr

Copy link
Contributor Author

@mirnawong1 mirnawong1 Feb 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will add:

Configure a lookback window to reprocess additional batches during microbatch incremental model runs. It processes X batches up to the latest bookmark (the last successfully processed data point) to capture late-arriving records.

Set the lookback to an integer greater than or equal to zero. The default value is 1. You can configure lookback for a microbatch incremental model n your dbt_project.yml file, property YAML file, or config block.

define lookback
@mirnawong1 mirnawong1 enabled auto-merge February 5, 2025 15:56
@mirnawong1 mirnawong1 merged commit 5c71b73 into current Feb 5, 2025
8 checks passed
@mirnawong1 mirnawong1 deleted the consolidate-microbatch-configs branch February 5, 2025 15:59
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Check your created Crawler

Check your created index on your Algolia Application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content Docs team Authored by the Docs team @dbt Labs size: medium This change will take up to a week to address trigger-crawl
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants