Some queries report duplicate values in fields that are probably not supposed to be duplicated in the DB.
select count(*) from external.tbl_gswiconveyance group by component_id returns duplicates, but select count(*) from external.tbl_gswiconveyance group by facility_id does not. Overlapping lifecycle statuses are all the more puzzling.
Such duplicates may suggest improper handling by the script. End users have not reported duplicated component IDs, though, so I am surprised to find this 1:many relationship in the DB.
More investigation to come.
Some queries report duplicate values in fields that are probably not supposed to be duplicated in the DB.
select count(*) from external.tbl_gswiconveyance group by component_idreturns duplicates, butselect count(*) from external.tbl_gswiconveyance group by facility_iddoes not. Overlapping lifecycle statuses are all the more puzzling.Such duplicates may suggest improper handling by the script. End users have not reported duplicated component IDs, though, so I am surprised to find this 1:many relationship in the DB.
More investigation to come.