cube-js / cube-js/cube

Feature Request: Support loading Cube schema files in Apache Ossie format instead of current YAML format

Open
#11,412 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

## Summary

Cube currently uses its own YAML schema format.

[Apache Ossie](https://github.com/apache/ossie) is an Apache-licensed open standard that defines a similar semantic model format — datasets with fields (dimensions + measures), relationships, primary keys, and more.

## Question

Does Cube plan to support loading schema definitions written in the Ossie format directly, instead of (or alongside) the current Cube-specific YAML format?

In practice, this would mean:
- Writing schema files in Ossie format instead of Cube's native `.yml` format
- Cube could parse Ossie YAML and use it to build the Cube model without any conversion step
- The same semantic model could be loaded by Cube without rewriting it in Cube-specific syntax

## Why this matters

- **Single source of truth**: Define the semantic model once, use it with Cube and other compatible tools
- **Vendor neutrality**: Ossie is open and Apache-licensed, not tied to any single vendor
- **Reduced duplication**: No need to maintain parallel schema definitions

Contributor guide

Open the contributing guide

Research direction

The issue names no implementation files or tests. Start by locating Cube's current YAML schema loader and comparing its model with the Apache Ossie format; done means Ossie schema files load directly alongside or instead of Cube's native YAML without manual conversion.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.