-
Notifications
You must be signed in to change notification settings - Fork 982
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
Added the snapshot / block displaying new config #6118
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Nat! Thanks for opening this. This looks good for core issue dbt-labs/dbt-core#4000 - we should also come back to this when doing the docs changes for dbt-labs/dbt-core#10246
As coming soon, you will be able to define snapshots entirely in yml files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will need to put this behind a version block / add a callout that this is new for core 1.9!
Co-authored-by: Mirna Wong <[email protected]>
@@ -80,11 +80,30 @@ snapshots: | |||
|
|||
<TabItem value="property-yaml"> | |||
|
|||
**Note:** Required snapshot properties _will not_ work when defined in `config` YAML blocks. We recommend that you define these in `dbt_project.yml` or a `config()` block within the snapshot `.sql` file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will still be true for versions before 1.9
- do we want to keep the callout for those earlier versions? Maybe add a recommendation to upgrade?
Note to self - add version block for users up to 1.8 |
Closed off as Core project has been paused |
I have created this PR following this Git issue: https://github.com/orgs/dbt-labs/projects/14/views/35?pane=issue&itemId=66616463
Resolves #5627
I've added the snapshot / block displaying the new config
What are you changing in this pull request and why?
Checklist