https://github.com/jolares/demo-dbt
Example ELT data pipeline project using dbt
https://github.com/jolares/demo-dbt
dbt elt-pipeline github-actions snowflake
Last synced: 3 months ago
JSON representation
Example ELT data pipeline project using dbt
- Host: GitHub
- URL: https://github.com/jolares/demo-dbt
- Owner: jolares
- Created: 2024-02-19T15:33:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-27T04:24:49.000Z (over 1 year ago)
- Last Synced: 2025-02-19T12:53:17.601Z (5 months ago)
- Topics: dbt, elt-pipeline, github-actions, snowflake
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dbt_demo
A project template for building, testing, scheduling, and running an ELT data
pipeline as a SQL workflow using:- [dbt-core](https://github.com/dbt-labs/dbt-core)
- [Github Actions](https://docs.github.com/en/actions) used as runner, scheduler, and orchestrator.
- [Python virtual environment](https://docs.python.org/3/library/venv.html).
- [Snowflake](https://docs.snowflake.com/) as a data warehouse option.
- [BigQuery](https://cloud.google.com/bigquery/docs) as a data warehouse option.
- [sqlfluff](https://sqlfluff.com/) used for linting SQL files
- [sqlfmt](https://sqlfmt.com/) used for formatting SQL files## Getting started
Run `bash setup.sh` once to install project dependencies and configure the desired data warehouse and agent connection.
Run the following target commands to execute the desired SQL workflow operation:
- `dbt compile`
- `dbt test`
- `dbt run`
- `dbt docs generate`
- `dbt docs serve`## Contributing
`git checkout main`
The `main` branch is read-only.
`git checkout -b `
Raise a PR
Merge PR to main branch
## Code Style Guide
- Follow Mozilla Data Documentation's (SQL Style Guide)[https://docs.telemetry.mozilla.org/concepts/sql_style#sql-style-guide]
- See dbt docs on [Best Practices](https://docs.getdbt.com/best-practices)## Default Configuration
By default, everything gets created as a view. You can override that at the directory level so everything in that directory will materialize to a different materialization.
## Resources
- See [repository notes on dbt](./docs/dbt.md)
- Learn more about dbt [in the docs](https://docs.getdbt.com/docs/introduction)
- Check out [Discourse](https://discourse.getdbt.com/) for commonly asked questions and answers
- Join the [chat](https://community.getdbt.com/) on Slack for live discussions and support
- Find [dbt events](https://events.getdbt.com) near you
- Check out [the blog](https://blog.getdbt.com/) for the latest news on dbt's development and best practices