Skip to content

Conversation

@sleblanc23
Copy link
Contributor

@sleblanc23 sleblanc23 commented Dec 11, 2023

Description & motivation

The student academic record models currently include k_student only, which excludes any historical records from years prior to the earliest dim_student records. This PR adds k_student_xyear and corrects the dedupe ordering logic to keep records from the post recent api_year.

Changes to existing files:

  • _edfi_3__stage.yml : remove k_student ref test
  • stg_ef3__student_academic_records : add k_student_xyear; correct ordering logic; remove redundant field in the partition

Tests and QC done (together with edu_wh):

  • Confirmed that row counts were unchanged in Jeffco

PR Merge Priority:

Low - note that this edu_wh PR depends on it

@sleblanc23 sleblanc23 marked this pull request as ready for review December 19, 2023 23:16
@sleblanc23 sleblanc23 marked this pull request as draft December 20, 2023 19:13
@ejoranlienea ejoranlienea marked this pull request as ready for review December 20, 2023 23:13
@ejoranlienea ejoranlienea changed the title Student academic records - switch k_student to k_student_xyear Student academic records - fix ordering Dec 20, 2023
@ejoranlienea ejoranlienea merged commit e177ebc into main Dec 20, 2023
@ejoranlienea ejoranlienea deleted the fix/student_academic_records branch December 20, 2023 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants