C-02 · Cube has @Analytics.dataCategory
| Field | Value |
|---|---|
| ID | C-02 |
| Category | annotation |
| Severity | error |
| Blocks mode | EVIDENCE_GROUNDED |
| Applies to | every Cube node in the plan graph |
| Source | internal/sap/validate/validate.go |
What it checks
Section titled “What it checks”Every cube node declares @Analytics.dataCategory: #CUBE. The annotation tells the VDM consumer that the view participates in the analytical star.
When it fires
Section titled “When it fires”A cube node’s Annotations["analytics_data_category"] is not #CUBE (missing or holds any other value).
Failure detail
Section titled “Failure detail”@Analytics.dataCategory: #CUBE missing on cube node.
Resolution
Section titled “Resolution”Add @Analytics.dataCategory: #CUBE to the view’s header annotations in the generated DDL. See How to resolve a gate.