cube-js/cube

Add joins in /meta

Open

#3456 aperta il 20 set 2021

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Rust (1965 fork)batch import
help wanted

Metriche repository

Star
 (19.563 star)
Metriche merge PR
 (Merge medio 5g 16h) (138 PR mergiate in 30 g)

Descrizione

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.

Guida contributor