cube-js / cube-js/cube

Automatically adding Joins using Primary/Foreign keys within Data Sources

Open
#1,179 6 comments 1 reaction 0 assignees View on GitHub
help wanted Roadmap: 2021 Q1
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.