Skip to content

fix(assignment): use existing dev_<name> schema, not dev_<name>_borough#5

Merged
lassebenni merged 2 commits into
mainfrom
fix/assignment-schema-dev-name
Jul 6, 2026
Merged

fix(assignment): use existing dev_<name> schema, not dev_<name>_borough#5
lassebenni merged 2 commits into
mainfrom
fix/assignment-schema-dev-name

Conversation

@lassebenni

Copy link
Copy Markdown
Collaborator

Situatie

Week 10 assignment tells students to build into schema dev_<your_name>_borough (profiles.yml.example, README, reports/answers.md).

Probleem

The shared-DB student roles are least-privilege: they have no CREATE on the database and only own their pre-provisioned dev_<name> schema. A student following the instructions verbatim hits permission denied to create schema dev_<name>_borough on their very first dbt build. A per-deliverable _borough schema also doesn't generalise: every future assignment would need its own admin-provisioned schema.

Oplossing

Point the assignment at the schema students already own and used throughout the Week 10 chapters: dev_<your_name>.

  • profiles.yml.example: dev_<your_name>_boroughdev_<your_name>
  • README.md, reports/answers.md: same rename (the mart name fct_daily_borough_stats is unchanged)
  • .github/workflows/dbt-parse.yml: sed placeholder dev_<your_name>dev_ci (parse-only job, no DB connection, so purely cosmetic)

Verified locally: dbt build as a least-priv role into dev_<name>PASS=12 WARN=1 ERROR=0, 184-row mart. No schema-creation needed.

🤖 Generated with Claude Code

Lasse Benninga and others added 2 commits July 6, 2026 15:38
…>_borough

Least-privilege student roles have no CREATE on the database and only own
their pre-provisioned dev_<name> schema. Telling students to build into
dev_<name>_borough makes their first `dbt build` fail with
"permission denied to create schema". Point the assignment at the schema
they already own and used all through the Week 10 chapters.

- profiles.yml.example: schema dev_<your_name>_borough -> dev_<your_name>
- README.md, reports/answers.md: same rename (mart name fct_daily_borough_stats unchanged)
- CI dbt-parse.yml: sed placeholder dev_<your_name> -> dev_ci (parse-only, no DB)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The mart's data runs 2023-12-31..2024-01-31, so "across all of January 2024"
was inaccurate. Match the reworded curriculum question ("the whole loaded
dataset"). Pairs with hyf-datatrack assignment data-fact fixes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lassebenni lassebenni merged commit beee3b8 into main Jul 6, 2026
1 check passed
@lassebenni lassebenni deleted the fix/assignment-schema-dev-name branch July 6, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant