mitodl / mitodl/ol-data-platform
Migrate `organization_administration_report` to use dimensional layer
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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