After upgrading to 16.3.3 patch 1 with PostgreSQL DB, an issue with Load DWH Job surfaced.
The DWH Load job runs successfully unless the "SQL Curve Data" feature (used for reporting) is enabled. When this feature is active, the job fails.
The following error is observed in the bg logs:
ERROR: ENCOUNTERED EXCEPTION WHILE INSERTING INTO DWH_FIN_PLAN_CRV_FACTS. function dwh_cast_curve_fct(niku.nk_curve) does not exist
Where: PL/pgSQL function inline_code_block line 24 at RAISE
Clarity 16.3.3 Patch 1 (16.3.3.1)
Investigation confirmed that the critical dwh_cast_curve_fct(niku.nk_curve) function is missing from the Data Warehouse (DWH) schema. This function is essential for processing "SQL Curve Data"
To resolve this, execute the following commands on the Clarity server: