Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix stu-school-att unique test #144

Merged
merged 4 commits into from
Sep 13, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions models/core_warehouse/fct_student_school_attendance_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ version: 2
models:
- name: fct_student_school_attendance_event
description: >
Raw school-level attendance events.
##### Overview:
Defines student-school-level attendance events.

Since attendance is generally recorded only in the negative, this is
typically a table of absences only. To find full daily attendance records,
see `fct_student_daily_attendance` or the aggregations thereof.
Since attendance is generally recorded only in the negative, this is
typically a table of absences only. To find full daily attendance records,
see `fct_student_daily_attendance` or the aggregations thereof.


*Primary Key:* `k_student, k_school, k_calendar_date`
##### Primary Key:
`k_student, k_school, k_calendar_date, k_session, attendance_event_category`

config:
tags: ['core']
Expand All @@ -20,6 +22,8 @@ models:
- k_student
- k_school
- k_calendar_date
- k_session
- attendance_event_category
columns:
- name: k_student
- name: k_student_xyear
Expand All @@ -33,4 +37,4 @@ models:
- name: event_duration
- name: arrival_time
- name: departure_time
- name: educational_environment
- name: educational_environment