mitodl / mitodl/ol-data-platform

Migrate `organization_administration_report` to use dimensional layer

Open
#2,107 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement product:data-platform
Dominant language
Python
Stars
51
Forks
6
Avg merge
2d 19h
Merged PRs (30d)
113

Description

Epic: #2072

File: src/ol_dbt/models/reporting/organization_administration_report.sql

Problem: References int__combined__user_course_roles and int__mitxonline__b2b_contract_to_courseruns directly. Target: replace with dim_user, dim_organization, and bridge_organization_courserun from the dimensional layer.

Acceptance criteria:

  • Model references only dimensional/, mart, or reporting models
  • No {{ ref('int__*') }} or {{ ref('stg__*') }} calls remain
  • Model compiles and passes dbt tests

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/ol_dbt/models/reporting/organization_administration_report.sql and inspect the dimensional models dim_user, dim_organization, and bridge_organization_courserun to understand their available fields. Run dbt compile and the model's dbt tests after replacing the direct intermediate references. Done means the model uses only dimensional, mart, or reporting models and contains no int__* or stg__* refs.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
data
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.