cube-js/cube

Add joins in /meta

Open

#3,456 opened on Sep 20, 2021

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Rust (1,965 forks)batch import
help wanted

Repository metrics

Stars
 (19,563 stars)
PR merge metrics
 (Avg merge 5d 16h) (138 merged PRs in 30d)

Description

I am building a data table editor for the end user. I want the end user to be able to pick the desired columns he wants to see in the table.

To do so, I want the user to select a cube first, then to pick from the related dimensions, as well as join dimensions, he wants to see as columns.

I can get the cubes and related dimensions with /v1/meta but it is missing the joins.

The solution /v1/meta endpoint to return joins as well for each cube.

With joins, we could aggregate dimensions for a desired Cube with the ones from its joined cubes.

Contributor guide