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

add dbt mesh x sl faqs #5867

Merged
merged 12 commits into from
Aug 8, 2024
Merged

add dbt mesh x sl faqs #5867

merged 12 commits into from
Aug 8, 2024

Conversation

mirnawong1
Copy link
Contributor

this pr adds an faq in various locations so we can provide users with info on how to best implement dbt mesh with the SL.

needs to be reviewed by PM

@mirnawong1 mirnawong1 requested a review from a team as a code owner July 31, 2024 11:01
Copy link

vercel bot commented Jul 31, 2024

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

Name Status Preview Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview Aug 8, 2024 8:46am

@github-actions github-actions bot added content Improvements or additions to content guides Knowledge best suited for Guides Docs team Authored by the Docs team @dbt Labs size: small This change will take 1 to 2 days to address and removed Docs team Authored by the Docs team @dbt Labs labels Jul 31, 2024
Copy link
Contributor

@rpourzand rpourzand left a comment

Choose a reason for hiding this comment

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

LGTM! Might also want to tag in @jtcohen6 for a review too.

@github-actions github-actions bot added the Docs team Authored by the Docs team @dbt Labs label Aug 2, 2024
Copy link
Contributor

@nataliefiann nataliefiann left a comment

Choose a reason for hiding this comment

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

Hiya @mirnawong1

Thanks for flagging this. I made one small change / fix but other than that, it's great! I've approved this for you.

Kind Regards
Natalie

@mirnawong1
Copy link
Contributor Author

Hey @jtcohen6 , just a friendly flag to double check if this faq looks ok?

Copy link
Collaborator

@jtcohen6 jtcohen6 left a comment

Choose a reason for hiding this comment

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

thank you @mirnawong1! sorry for the delay

cc @rpourzand - just for interest :)

When using the dbt Semantic Layer in a [dbt Mesh](/best-practices/how-we-mesh/mesh-1-intro) setting, we recommend the following:

- You have one global project that contains your Semantic Layer configurations.
- Then as you build your Semantic Layer, you can cross reference dbt models across your various projects or packages to create your semantic models using the [two-argument `ref` function](/reference/dbt-jinja-functions/ref#ref-project-specific-models)( `ref('project_name', 'model_name')`).
Copy link
Collaborator

Choose a reason for hiding this comment

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

```
</File>

Notice that in the `model` parameter, we're using the `ref` function to reference the `fct_orders` model in the `jaffle_finance` project.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Notice that in the `model` parameter, we're using the `ref` function with two arguments to reference the public model `fct_orders` defined in the `jaffle_finance` project.

website/snippets/_sl-dbt-mesh-faq.md Outdated Show resolved Hide resolved
@mirnawong1 mirnawong1 enabled auto-merge (squash) August 8, 2024 08:36
@mirnawong1
Copy link
Contributor Author

brilliant! thanks @jtcohen6 @nataliefiann @rpourzand !

@mirnawong1 mirnawong1 merged commit 266c6b4 into current Aug 8, 2024
10 checks passed
@mirnawong1 mirnawong1 deleted the sl-dbt-mesh-faq branch August 8, 2024 08:46
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 guides Knowledge best suited for Guides size: small This change will take 1 to 2 days to address
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants