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 scd docs per feedback #5754

Merged
merged 5 commits into from
Jul 10, 2024
Merged

update scd docs per feedback #5754

merged 5 commits into from
Jul 10, 2024

Conversation

mirnawong1
Copy link
Contributor

@mirnawong1 mirnawong1 commented Jul 9, 2024

Opened this pr to address the feedback from issue #5395. It also adds info regarding validity_params and how it relates to the scd table columns: valid_to/valid_from.

[ ] Outstanding question wrt metric_time
[ ] PM review needd

Resolves #5395

@mirnawong1 mirnawong1 requested a review from a team as a code owner July 9, 2024 10:02
Copy link

vercel bot commented Jul 9, 2024

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

Name Status Preview Comments Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 10, 2024 6:39pm

@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 Jul 9, 2024
@@ -45,8 +45,8 @@ semantic_models:
description: A record for every transaction that takes place. Carts are considered multiple transactions for each SKU.
model: {{ ref("fact_transactions") }}
defaults:
agg_time_dimension: metric_time
# --- entities ---
agg_time_dimension: metric_time
Copy link
Contributor Author

Choose a reason for hiding this comment

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

should this be metric_time?

Copy link
Contributor

Choose a reason for hiding this comment

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

No it should be 'order_date'

Copy link
Contributor

@Jstein77 Jstein77 left a comment

Choose a reason for hiding this comment

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

This is more clear. I would love to add a cook book example that has a more real life scenario. I think this is a good explanation, but i still think it will be hard for people to adopt SCD dimensions just from reading this.

@mirnawong1 mirnawong1 enabled auto-merge (squash) July 10, 2024 18:34
@mirnawong1 mirnawong1 merged commit 4dae427 into current Jul 10, 2024
11 checks passed
@mirnawong1 mirnawong1 deleted the update/mf-scd-section branch July 10, 2024 18:39
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.

Update SL Dimensions SCD section to comply with the validation rules
2 participants