Symptom
The Data Preview of SQL view object is failed with the following error message:
Errors(FORMATTED): cds-compiler model error: Path item 0=xxxrefers to nothing, refCtx: columns Errors(ORIGINAL): cds-compiler model error: Path item 0=xxxrefers to nothing, refCtx: columns
The SQL view contains "SELECT *" statement.
Environment
SAP Datasphere
Reproducing the Issue
- open the problematic SQL view in Data Builder
- Use Data Preview option
Cause
The "SELECT *" statement is not supported in SAP Datasphere - SQL view.
Resolution
Replace the "SELECT *" statement with "SELECT <column name>".
See Also
Supported Date Functions are listed in SAP Help Portal Documentation: Date Functions.
Keywords
model error, , KBA , DS-MD-VIW , Views , Known Error
Product
SAP Datasphere all versions