Skip to content

Commit

Permalink
Merge pull request #66 from code-dot-org/fix/int_section_mapping
Browse files Browse the repository at this point in the history
fix/int_section_mapping
  • Loading branch information
jordan-springer authored Jan 29, 2024
2 parents 98ed35a + 66d938e commit 0e70085
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dbt/models/intermediate/int_section_mapping.sql
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,6 @@ followers as (
from {{ ref('stg_dashboard__followers') }}
),

-- teachers as (
-- select distinct
-- teacher_id,
-- school_id
-- from {{ ref('dim_teachers') }}
-- ),

teacher_school_changes as (
select *
from {{ ref('int_teacher_schools_historical') }}
Expand Down Expand Up @@ -61,8 +54,6 @@ combined as (
from followers
left join sections
on followers.section_id = sections.section_id
-- left join teachers
-- on sections.user_id = teachers.teacher_id
join school_years as sy
on followers.created_at
between sy.started_at and sy.ended_at
Expand Down

0 comments on commit 0e70085

Please sign in to comment.