some details in readme

This commit is contained in:
Pablo Martin 2024-02-06 11:39:52 +01:00
parent fc3f088e74
commit 3fa607aa4f

View file

@ -35,15 +35,16 @@ We organize models in four folders:
- `sync`
- Dedicated to sources.
- One `.yml` per `sync` schema.
- No SQL models go here.
- `staging`
- Pretty much this: <https://docs.getdbt.com/best-practices/how-we-structure/2-staging>
- One `.yml` per `sync` schema, with naming `_<sourcename>_sources.yml`. For example, for Core, `_core_sources.yml`.
- All models go prefixed with `stg_`.
- Avoid `SELECT *`. We don't know what dirty stuff can come from the `sync` schemas.
- `intermediate`
- Pretty much this: <https://docs.getdbt.com/best-practices/how-we-structure/3-intermediate>
- It's strictly forbidden to use tables here to end users.
- It's strictly forbidden to use tables here to serve end users.
- Make an effort to practice DRY.
- `reporting`
- Pretty much this: <https://docs.getdbt.com/best-practices/how-we-structure/4-marts>