You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-17Lines changed: 6 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ HackYourFuture Data Track, Week 10. The full brief (business question, tasks, an
6
6
7
7
A dbt Core project called `nyc_taxi_borough_daily` that produces a mart at the grain **one row per (pickup_borough, pickup_date)** for the NYC Green Taxi January 2024 dataset already loaded in the shared Azure PostgreSQL instance.
8
8
9
-
## What this repo gives you (and what it does not)
9
+
## What this repo gives you
10
10
11
-
This repo contains the**support files** around the dbt project: templates, TODO stubs, and the autograder. It deliberately does **not** contain `dbt_project.yml`: creating the project is Task 1, and you do it yourself with `dbt init`.
11
+
This repo is a**ready-to-run dbt project**: the project config is wired up and every model, test, and report is a TODO stub for you to fill in. You do not scaffold anything: your job is to write the models, tests, and docs.
12
12
13
13
```text
14
-
. <- this repo becomes the dbt project root
15
-
├── dbt_project.yml <- NOT included: you create this in Task 1
14
+
. <- this repo is the dbt project root
15
+
├── dbt_project.yml <- ready to run: staging = view, marts = table
16
16
├── packages.yml <- TODO stub: declare dbt_utils (Task 5)
17
17
├── profiles.yml.example <- connection template: copy to profiles.yml
18
18
├── macros/
@@ -35,20 +35,9 @@ This repo contains the **support files** around the dbt project: templates, TODO
35
35
└── AI_ASSIST.md <- template: document one LLM session (Task 8)
36
36
```
37
37
38
-
## Task 1: create the dbt project into this repo
38
+
## Task 1: connect to the shared database
39
39
40
-
`dbt init` always generates a new subfolder, so create the project next to this repo and move its `dbt_project.yml` in:
Deleting the generated folder also removes the `models/example/` scaffolding the assignment warns about. Then open `dbt_project.yml` and remove the `example:` block under `models:`.
50
-
51
-
## Connect to the shared database
40
+
The project is already initialised, so Task 1 is just pointing it at the database with your personal schema.
52
41
53
42
1. Copy the connection template and set your personal schema:
0 commit comments