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

More clearly delineate the two points of time for the graph_summary.json artifact #4368

Merged
merged 6 commits into from
Oct 30, 2023

Conversation

dbeatty10
Copy link
Contributor

@dbeatty10 dbeatty10 commented Oct 30, 2023

Preview

What are you changing in this pull request and why?

I was sharing the documentation for graph_summary.json with a colleague and realized it could be more clear.

Also

It would be good to call out that the name within this artifact is the same as the unique_id in manifest.json.

It would also be nice to link to a page enumerating the valid resource / node types, but we'd need #4314 to do that.

Example artifacts

dbt list

{
    "_invocation_id": "535f4bc1-16d3-4a0a-96d8-28602ad158b3",
    "linked": {
        "0": {
            "name": "model.jaffle_shop.stg_customers",
            "type": "model"
        },
        "1": {
            "name": "seed.jaffle_shop.my_seed",
            "type": "seed",
            "succ": [
                0
            ]
        },
        "2": {
            "name": "test.jaffle_shop.not_null_stg_customers_id.6bd2c50f02",
            "type": "test"
        }
    }
}

dbt build

{
    "_invocation_id": "2ba72f5f-edd8-4fda-8b0a-6e7f7fcf654f",
    "linked": {
        "0": {
            "name": "model.jaffle_shop.stg_customers",
            "type": "model",
            "succ": [
                2
            ]
        },
        "1": {
            "name": "seed.jaffle_shop.my_seed",
            "type": "seed",
            "succ": [
                0
            ]
        },
        "2": {
            "name": "test.jaffle_shop.not_null_stg_customers_id.6bd2c50f02",
            "type": "test"
        }
    },
    "with_test_edges": {
        "0": {
            "name": "model.jaffle_shop.stg_customers",
            "type": "model",
            "succ": [
                2
            ]
        },
        "1": {
            "name": "seed.jaffle_shop.my_seed",
            "type": "seed",
            "succ": [
                0
            ]
        },
        "2": {
            "name": "test.jaffle_shop.not_null_stg_customers_id.6bd2c50f02",
            "type": "test"
        }
    }
}

Checklist

@vercel
Copy link

vercel bot commented Oct 30, 2023

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 Oct 30, 2023 8:41pm

@github-actions github-actions bot added content Improvements or additions to content size: x-small This change will take under 3 hours to fix. labels Oct 30, 2023
@dbeatty10 dbeatty10 marked this pull request as ready for review October 30, 2023 19:57
@dbeatty10 dbeatty10 requested a review from a team as a code owner October 30, 2023 19:57
@dbeatty10 dbeatty10 merged commit 2a31c2f into current Oct 30, 2023
6 checks passed
@dbeatty10 dbeatty10 deleted the dbeatty10-patch-1 branch October 30, 2023 23:00
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 size: x-small This change will take under 3 hours to fix.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants