cube-js/cube

Add joins in /meta

Open

#3,456 建立於 2021年9月20日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Rust (1,965 fork)batch import
help wanted

倉庫指標

Star
 (19,563 star)
PR 合併指標
 (平均合併 5天 16小時) (30 天內合併 138 個 PR)

描述

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.

貢獻者指南