Adding time-varying attributes to data provider leads to SQL Error Code 207
Steps to replicate:
Expected Behaviour:
The Data Provider published
Actual Behaviour:
Finding "This data provider cannot be published. Please correct the following items and republish... API-1019: Could not process the request due to internal error."
App logs:
ERROR ... Error occurred while validating the query com.niku.union.persistence.PersistenceException: SQL error code: 207 Error message: Invalid column name 'crv_cust_z_sum_cost_odf'. Executed:.....
Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'crv_cust_z_sum_cost_odf'.We had a look into the issue and figured out, that the issue lies with three time varying attributes in the data provider:
As soon as we removed the attributes from the data provider, it could be published. (That is the current workaround)
All three of these attributes have the same setup:
Clarity 16.3.3
Verify Column Existence in DWH Database
If the related columns are not available, then run the following: