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

Flesh out docs on how to develop our data catalog #117

Conversation

jeancochrane
Copy link
Contributor

This PR updates dbt/README.md to add more detailed docs on how to develop our dbt catalog. These docs represent my best attempt at a full set of information that other developers in this office will need to effectively contribute to the data catalog.

As part of these docs, this PR also adds a new Add a new dbt model issue template that provides detailed instructions for how to add a new model, assuming no context on how our dbt setup works.

Closes #67 and #108.

@jeancochrane jeancochrane linked an issue Sep 5, 2023 that may be closed by this pull request
1 task
@jeancochrane jeancochrane force-pushed the jeancochrane/67-data-catalog-flesh-out-dev-docs-on-how-to-build-and-test-with-dbt branch from 232d883 to c0cd6a8 Compare September 6, 2023 15:42
## Model attributes

* **Name**: _(What should the model be called? See [Model
naming](/ccao-data/data-architecture#model-naming) for guidance.)_
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 went with an absolute link here instead of a relative link because it seemed like a safer choice to link to the project homepage rather than assume a specific file structure going forward. But I could be convinced to switch to a relative link like:

Suggested change
naming](/ccao-data/data-architecture#model-naming) for guidance.)_
naming](../../README.md#model-naming) for guidance.)_

* [📝 Design doc for our decision to develop our catalog with
dbt](../documentation/design-docs/data-catalog.md)

<h2 id="background-what-does-the-data-catalog-do">🖼️ Background: What does the data catalog do?</h2>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The HTML <h2> tag is necessary here because otherwise the emoji in the header text messes up GitHub's autogenerated section permalink.

@jeancochrane jeancochrane marked this pull request as ready for review September 6, 2023 17:35
@jeancochrane jeancochrane requested a review from a team as a code owner September 6, 2023 17:35
Copy link
Member

@dfsnow dfsnow left a comment

Choose a reason for hiding this comment

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

@jeancochrane Awesome work! This is a hugely helpful doc and will be quite a boon to me when I start building out more tests and docs. See my minor notes, then good to merge 🚀

dbt/README.md Outdated Show resolved Hide resolved
dbt/README.md Show resolved Hide resolved
dbt/README.md Outdated Show resolved Hide resolved
dbt/README.md Show resolved Hide resolved
dbt/README.md Outdated
Comment on lines 296 to 299
Ideally, new models should also include descriptions for each column,
implemented directly in the `schema.yml` model definition. However, our
column descriptions are currently sparse, so it is not a strict requirement just
yet.
Copy link
Member

Choose a reason for hiding this comment

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

suggestion: I think we should just make it a requirement for new models, since this will be changed in the near future.

Copy link
Contributor Author

@jeancochrane jeancochrane Sep 11, 2023

Choose a reason for hiding this comment

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

Good call, I tweaked the wording in 7426ff0!

@jeancochrane jeancochrane merged commit ed1f35d into master Sep 11, 2023
3 checks passed
@jeancochrane jeancochrane deleted the jeancochrane/67-data-catalog-flesh-out-dev-docs-on-how-to-build-and-test-with-dbt branch September 11, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Data catalog] Flesh out dev docs on how to build and test with dbt
2 participants