cube-js/cube

Automatically adding Joins using Primary/Foreign keys within Data Sources

Open

#1,179 建立於 2020年10月6日

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

倉庫指標

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

描述

Would it be possible within the automatic schema generation to create joins as well using the Primary/Foreign keys within SQL DB's? This would enable developers to quickly engage with their data without having to define the joins when they should already be defined at a db schema level.

This could also be expanded to include a range of 'default' optional pre-aggregations on data, e.g. automatically inserting a pre-aggregation on data types such as boolean creates a count, within the same process.

貢獻者指南