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

clariy multihop depth #4973

Merged
merged 47 commits into from
Mar 13, 2024
Merged

clariy multihop depth #4973

merged 47 commits into from
Mar 13, 2024

Conversation

mirnawong1
Copy link
Contributor

this pr clarifies multi-hop depth and whether more than 3 joins are supported in mf.

stemmed from users asking and this slack thread: https://dbt-labs.slack.com/archives/C03KHQRQUBX/p1708571327378159?thread_ts=1708570486.187929&cid=C03KHQRQUBX

this pr clarifies multi-hop depth and whether more than 3 joins are supported in mf. 

stemmed from users asking and this slack thread: https://dbt-labs.slack.com/archives/C03KHQRQUBX/p1708571327378159?thread_ts=1708570486.187929&cid=C03KHQRQUBX
@mirnawong1 mirnawong1 requested a review from a team as a code owner February 22, 2024 15:43
Copy link

vercel bot commented Feb 22, 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 Mar 13, 2024 10:16am

@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 Feb 22, 2024

MetricFlow allows users to join measures and dimensions across a graph of entities, which we refer to as a 'multi-hop join.' This is because users can move from one table to another like a 'hop' within a graph.
MetricFlow can join up to three tables, supporting multi-hop joins with a limit of two hops. This enables complex data analysis without ambiguous paths. It supports navigating through data models, like moving from `orders` to `customers` to `country` tables. While direct three-hop paths are limited to prevent confusion from multiple routes to the same data, MetricFlow does allow joining more than three tables if the joins don’t exceed two hops to reach a dimension.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

hey @Jstein77 - does this sound right?

MetricFlow can join up to three tables, supporting multi-hop joins with a limit of two hops. This does the following:
- Enables complex data analysis without ambiguous paths.
- Supports navigating through data models, like moving from `orders` to `customers` to `country` tables.
- While direct three-hop paths are limited to prevent confusion from multiple routes to the same data, MetricFlow does allow joining more than three tables if the joins don’t exceed two hops to reach a dimension.
Copy link
Contributor

Choose a reason for hiding this comment

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

This last point feels a little out of place. Should it be a follow-up note or maybe reworded?
Reading aloud:
This does the following... enables ✅... supports✅... while direct...

@mirnawong1 mirnawong1 disabled auto-merge March 12, 2024 17:00
@mirnawong1 mirnawong1 merged commit f7de7ab into current Mar 13, 2024
4 checks passed
@mirnawong1 mirnawong1 deleted the mirnawong1-patch-12 branch March 13, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto update 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants