cube-js / cube-js/cube

Using Ragged and Unbalanced Hierarchies

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

Description

**Problem**
We are exploring cube for a POC with in my team and we had a few questions on hierarchies. The documentation mentions that level definitions for hierarchies are needed, how does this with with ragged hierarchies. Specifically ones that have a high cardinality of levels. We typically store these in adjacency lists (Parent Node, Child Node). As a part of these adjacency lists we also store a weight, that describes whether the children within the parent are additive (weight of 1) or subtractive (weight of -1). Wondering if anyone has guidance or experience they can share.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.