Load Data Warehouse (DWH) job - Full load fails with FK errors after another Full Load DWH was Cancelled or Failed on any table
Error referenced: ORA-02298: cannot validate (***************_FK1) - parent keys not found (It can be on any FK.)
A similar error may also be seen:
[CA Clarity][Oracle JDBC Driver][Oracle]ORA-20100: ENCOUNTERED EXCEPTION IN DWH_LOOKUP_LOAD (DWH_LKP_TEST). SQLERRM : ORA-30926: unable to get a stable set of rows in the source tables
ORA-06512: at line 23
Steps to Reproduce:
Expected Result: Load DWH job to complete successfully as it truncates the tables before inserting new data.
Actual Result: The job fails with ORA-02298: cannot validate (***************_FK1) - parent keys not found (It can be on any FK.)
Caused by CLRT-79090
This can be due to synchronization issues with the data between the Clarity PPM and DWH databases. When making particular changes to the PPM database, the views have not been made to the DWH database by making sure to run the full Load DWH job daily.
There are times where the full Load DWH job will need to run.
Clarity 14.2+
To resolve the issue, run the full Load DWH job. Run the full Load DWH if the following changes in Clarity occur:
Reference article Load DWH Full fails with FK constraint when scheduled at a certain time of the day only (Oracle) - due to a custom job or process accessing records and updating them whilst the Load Data Warehouse job is running.