cube-js/cube

Add joins in /meta

Aperta

#3456 aperta il 20 set 2021

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

Metriche repository

Star
 (19.563 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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