You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the problem we're solving? For very simple items, this can be encapsulated in the success criteria.
When trying to add this FK relationship, we are getting this error after running pudl_check_fks:
What I'm seeing right now is that a) it seems like I can trust that these rows from the error message is the index in out_pudl__yearly_assn_eia_ferc1_plant_parts. Why? because the numbers are exactly the same in the nightly build failure and when I reproduce this failure locally. All of these records are associated with the same plant that are all plant_part=="plant_match_ferc1". I keep finding that these "missing" records are actually in the out_eia__yearly_plant_parts. This FK rule was adding doing a different task and is out of scope to fix for that project (#3774)
To reproduce this - turn off the foreign_key_rulesexclude, rerun pudl_check_fks to get the missing row's:
For me, all of the record_id_eia's that are implicated in this have this structure: 2830_**_20**_plant_match_ferc1_total_3542
Success Criteria
How will we know that we're done?
we are able to remove the FK relationship exclusion between out_eia__yearly_plant_parts's record_id_eia and out_pudl__yearly_assn_eia_ferc1_plant_parts
The content you are editing has changed. Please copy your edits and refresh the page.
The text was updated successfully, but these errors were encountered:
cmgosnell
added
bug
Things that are just plain broken.
ppe
Plant Parts EIA (formerly the EIA plant parts list)
labels
Aug 27, 2024
cmgosnell
changed the title
Add FK relationship between out_eia__yearly_plant_parts and out_pudl__yearly_assn_eia_ferc1_plant_parts
Add FK relationship between out_eia__yearly_plant_parts and out_pudl__yearly_assn_eia_ferc1_plant_parts
Aug 27, 2024
cmgosnell
changed the title
Add FK relationship between out_eia__yearly_plant_parts and out_pudl__yearly_assn_eia_ferc1_plant_parts
Add FK relationship between out_eia__yearly_plant_parts and out_pudl__yearly_assn_eia_ferc1_plant_partsAug 27, 2024
Overview
What is the problem we're solving? For very simple items, this can be encapsulated in the success criteria.
When trying to add this FK relationship, we are getting this error after running
pudl_check_fks
:What I'm seeing right now is that a) it seems like I can trust that these rows from the error message is the index in
out_pudl__yearly_assn_eia_ferc1_plant_parts
. Why? because the numbers are exactly the same in the nightly build failure and when I reproduce this failure locally. All of these records are associated with the same plant that are allplant_part=="plant_match_ferc1"
. I keep finding that these "missing" records are actually in theout_eia__yearly_plant_parts
. This FK rule was adding doing a different task and is out of scope to fix for that project (#3774)To reproduce this - turn off the
foreign_key_rules
exclude
, rerunpudl_check_fks
to get the missing row's:For me, all of the
record_id_eia
's that are implicated in this have this structure:2830_**_20**_plant_match_ferc1_total_3542
Success Criteria
How will we know that we're done?
out_eia__yearly_plant_parts
'srecord_id_eia
andout_pudl__yearly_assn_eia_ferc1_plant_parts
Next steps
The text was updated successfully, but these errors were encountered: