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

update dbt_is_deleted to string #6749

Merged
merged 12 commits into from
Jan 9, 2025
Merged

update dbt_is_deleted to string #6749

merged 12 commits into from
Jan 9, 2025

Conversation

mirnawong1
Copy link
Contributor

@mirnawong1 mirnawong1 commented Jan 9, 2025

this pr updates dbt_is_deleted to string value, not boolean.

updated snapshot and snashot-metadata-column-name page.

confirming with grace whether config description is correct

Resolves #6747


🚀 Deployment available! Here are the direct links to the updated files:

@mirnawong1 mirnawong1 requested a review from a team as a code owner January 9, 2025 15:15
Copy link

vercel bot commented Jan 9, 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 Jan 9, 2025 7:21pm

@github-actions github-actions bot added content Improvements or additions to content Docs team Authored by the Docs team @dbt Labs size: small This change will take 1 to 2 days to address labels Jan 9, 2025
@mirnawong1 mirnawong1 changed the title Update-dbt-is-deleted do not merge yet: update dbt_is_deleted to string Jan 9, 2025
@mirnawong1 mirnawong1 changed the title do not merge yet: update dbt_is_deleted to string update dbt_is_deleted to string Jan 9, 2025
@github-actions github-actions bot added size: medium This change will take up to a week to address and removed size: small This change will take 1 to 2 days to address labels Jan 9, 2025
website/docs/docs/build/snapshots.md Show resolved Hide resolved
website/docs/docs/build/snapshots.md Show resolved Hide resolved
website/docs/docs/build/snapshots.md Show resolved Hide resolved
website/docs/docs/build/snapshots.md Show resolved Hide resolved
website/docs/docs/build/snapshots.md Show resolved Hide resolved

For the `timestamp` strategy, the configured `updated_at` column is used to populate the `dbt_valid_from`, `dbt_valid_to` and `dbt_updated_at` columns.
*The timestamps used for each column are subtly different depending on the strategy you use:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should leave the * out unless it's used as an endnote/footnote somewhere else for reference. We could use language we use elsewhere like Note: or similar

Suggested change
*The timestamps used for each column are subtly different depending on the strategy you use:
The timestamps used for each column are subtly different depending on the strategy you use:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought the same but the asterisk is actually referenced in line 436, which is why I added it back it 😅

Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't even see that. Pretty easy to miss both ways and might want to consider removing both but doesn't need to block this PR

mirnawong1 and others added 2 commits January 9, 2025 19:09
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
@mirnawong1 mirnawong1 disabled auto-merge January 9, 2025 19:10
@mirnawong1 mirnawong1 merged commit 0f397d6 into current Jan 9, 2025
8 checks passed
@mirnawong1 mirnawong1 deleted the update-dbt-is-deleted branch January 9, 2025 19:30
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

all snapshot_meta_column_names including dbt_is_deleted should be a string input not a boolean
3 participants