Skip to content

Rollup Designer in Cube Core is broken for YAML data models #5989

@quy-ng

Description

@quy-ng

Hi folks,

I had a question which I posted at https://forum.cube.dev/t/syntax-error-missing-semicolon-in-schema/598 and slack, regarding syntax error.

My schema file is

cubes:
  - name: AnalystProfiles
    sql: SELECT * FROM analyst_profiles
      # preAggregations:
      # Pre-Aggregations definitions go here
      # Learn more here: https://cube.dev/docs/caching/pre-aggregations/getting-started
    joins: []
    measures:
      - name: count
        type: count
        drillMembers: [firstName, gender]
    dimensions:
      - name: age
        sql: age
        type: number
      - name: firstName
        sql: first_name
        type: string
      - name: gender
        sql: gender
        type: string
    dataSource: default

And error log is Syntax error during 'AnalystProfiles.yaml' parsing: Missing semicolon. (2:8): - name: AnalystProfiles ^

Basically, my schema file was generated by cube, but when I got an error that was confusing to me. I wonder if anyone here has ever encountered this?

FYI, I am using latest version with Docker

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions