Commit d938c8c
fix(week10): correct WARN-severity guidance and add INNER JOIN hint
Two student-facing fixes found by building the assignment against live
Azure Postgres:
- Singular-test stub claimed severity is "set in dbt_project.yml". The
template ships no dbt_project.yml (students dbt init their own), and a
project-level severity would silently downgrade the not_null /
unique_combination PK tests. Point students at an inline
{{ config(severity='warn') }} instead.
- Mart stub said only "join trips to zones". A pickup_location_id with no
matching zone (e.g. 999) becomes NULL borough under a LEFT JOIN and fails
the not_null PK test. Tell students to INNER JOIN so pickup_borough stays
non-null and the mart lands at the rubric's 184 rows.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PLwBsooLgWEkUqJYVK7FsU1 parent a7328bb commit d938c8c
2 files changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | | - | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
0 commit comments