-
Notifications
You must be signed in to change notification settings - Fork 1
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
migrate library scripts to ingest - FacDB #1313
base: main
Are you sure you want to change the base?
Conversation
7fe6718
to
3f52bc5
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1313 +/- ##
==========================================
+ Coverage 70.58% 72.09% +1.51%
==========================================
Files 115 113 -2
Lines 5966 5935 -31
Branches 695 701 +6
==========================================
+ Hits 4211 4279 +68
+ Misses 1609 1506 -103
- Partials 146 150 +4 ☔ View full report in Codecov by Sentry. |
36134fd
to
82ace91
Compare
82ace91
to
df0b154
Compare
df0b154
to
a7f033d
Compare
a7f033d
to
f199d60
Compare
f199d60
to
490fc36
Compare
490fc36
to
3c7dcc1
Compare
Final commit has one code change - @damonmcc I could drop this. But really just takes advantage of the casting to numeric for that dataset. This would rely on actually running ingest for that dataset after this is merged. |
Lemme give this one more good once-over before you have a look @damonmcc |
#1290 - almost closes, doesn't have nypl libraries
Commit 1 has a big tweak - basically, adds option to cast
varchar
fields from library tobigint
on comparison. This should be done, in my opinion, in one case only.Otherwise, this should not be done as part of the comparison when migrating from library to ingest
for example, comparing
nysed_nonpublicenrollment
, originally I got thisbut now running
lifecycle scripts validate_ingest compare nysed_nonpublicenrollment --c2n prek --c2n halfk --c2n fullk --c2n gr1 --c2n gr2 --c2n gr3 --c2n gr4 --c2n gr5 --c2n gr6 --c2n gr7 --c2n gr8 --c2n gr9 --c2n gr10 --c2n gr11 --c2n gr12 --c2n institution_id --c2n beds_code --c2n ugs --c2n uge
(a bit verbose but I think forcing intentionality is good when this is sort of twisting the validation) I get