Investigate source of null Age value in warehouse.enrol
reported in RMI - by @shraddha_tambe
These may go away as a result of fix for issue #575 ?
Requires a warehouse rebuild to test this - would prefer to get Newton to sign off on that and do it, rather than do remotely ..... @ghachey will be guided by you.....
Comments (8)
-
-
reporter @ghachey yes I thought of that, :) and results look good.
No null ages after 2015 in warehouse.enrol, and those earlier ones come directly from Enrollments - so those 3 records may be something to do with data takeup?
-
reporter For the 3 records shown above with Age 0; I doctored these to replace with the "official age" for the grade in question (G5 = 10, G4 = 9, G8 = 13)
-
reporter Also found that Transfers In were not being grouped by Age, instead by state of origin ( this is how they have always been presented in e.g. SIEMIS, KEMIS) Changed this to disaggregate Transfers In in
PupilTables
by bothptAge
, and state now inptPage
. After warehouse rebuild, this removes all the Age = null records that contained only aTRIN
value fromwarehouse.Enrol
-
reporter I refactored the stored proc ndoeLoadStudents to split out the logic that rebuilds the tables
Enrollments
andPupilTables
fromStudent_
andStudentEnrolment_
. the new sp is called StudentEnrolmentRollup.This is a convenience when undertaking data repair fixes like this; makes it easy to rebuild without needing to entirely reload the workbook.
-
reporter @shraddha_tambe @ghachey
a warehouse rebuild in MIEMIS production will now eliminate the null ages you have seen in warehouse.enrol, due to changes already made in MIEMIS production data.
-
reporter - changed status to closed
Pull Request #309 contains the changed stored procs referred to in this item
-
Thanks @softwords this was also raised in FSM and good to know that this is now sorted
- Log in to comment
@softwords Can you not try a warehouse rebuild on your local copy and just run the query? I think we'll just have to wait for Newton to rebuild warehouse Monday morning.