Skip to content

Commit

Permalink
Merge branch 'feature/sections' of https://github.com/code-dot-org/an…
Browse files Browse the repository at this point in the history
…alytics into feature/sections
  • Loading branch information
allison-code-dot-org committed Jan 30, 2024
2 parents 03918c7 + a6e5f28 commit 804673c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dbt/models/marts/sections/dim_sections.sql
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ section_metrics as (
school_id,
school_year,
count(distinct student_id) as num_students_added
from {{ ref('int_section_mapping') }}
from int_section_mapping
group by 1, 2, 3, 4
),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ with
source as (
select *
from {{ source('dashboard', 'followers') }}
where deleted_at is null
--where deleted_at is null
),

renamed as (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ with
source as (
select *
from {{ source('dashboard', 'sections') }}
where deleted_at is null
--where deleted_at is null
),

renamed as (
Expand Down Expand Up @@ -34,6 +34,5 @@ renamed as (
first_activity_at
from source
)

select *
from renamed

0 comments on commit 804673c

Please sign in to comment.