/airbyte-poc-dbt

DBT for demonstration of using it with airbyte

Data transformation for DBT

Setup

Installing python

ensure you have python 3.9 installed If not

Install venv for dbt

navigate to dbt_transformations

  • python -m venv .venv
  • source .venv/bin/activate

Install dbt

  • pip install dbt-bigquery
  • dbt init
  • dbt debug You should see all green!
  • for next step, cd ..

Running

From the repository base . . .

Run all models locally, tranforming in BigQuery

dbt run --project-dir dbt_transforms

Test the results of the run match expectations

dbt test --project-dir dbt_transforms

Resources:

  • Learn more about dbt in the docs
  • Check out Discourse for commonly asked questions and answers
  • Join the chat on Slack for live discussions and support
  • Find dbt events near you
  • Check out the blog for the latest news on dbt's development and best practices

https://github.com/dbt-labs/dbt-utils