Giter Club home page Giter Club logo

dbt-workshop's People

Contributors

bardrink avatar joeythedataguy avatar niek-mereu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dbt-workshop's Issues

Feedback

Meeting notes:
before ml
install docker
clone the repo
run docker-compose (download X GB of data / usb disk)
sql ide required

intro motivation - ML = predict registered customers

describe briefly jinja

dbt_project - make consistent dbt_demo / dbt_workshop
leave out/work into more detail why to use identifier

test source and dbt test itx

Testing notes:
Notes:

Env setup

  1. be in correct folder: docker exec -w /project/dbt_demo/ -it dbt-demo-dbt-1 /bin/bash
  2. run dbt --version where you should see 1.2.0

Project structure

models/staging - add note from core
models/marts/core - core data model with dimensions and facts
models/marts/intermediate - combine two data sources form staging
run dbt debug you should see All checks passed!
run dbt list you should see

There are 3 unused configuration paths:
- models.dbt_workshop.staging
- models.dbt_workshop.marts
- models.dbt_workshop.marts.core

Data sources

name = jaffle_shop
dbt seeds under dbt schema not dbt_seeds
add _src_ga schema: dbt

Staging models

I would enrich by number of orders so it's clear that staging should be creating join on top of base models

Documentation & tests

we have created on src, not stg instead of stg

defining description - move after test

add subfolder where to put it
run docs command?

exercise

split ga and jaffle
add stg ga

snapshots

docker cmd to copy docker cp update.sql dbt-demo-database-1:/update.sql instead of docker cp update.sql dbt-workshop-database-1:/update.sql

falai

labels into seeds
change base, stg, dim
create _ml.yml and _src_ml.yml
run fal ai
change dim_customers to contain flag

typo

dbt_ml.customer_registration_predictio -> dbt_marts.customer_registration_predictio

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.