cube-js/cube

Automatically adding Joins using Primary/Foreign keys within Data Sources

Open

#1.179 geöffnet am 6. Okt. 2020

Auf GitHub ansehen
 (6 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (1.965 Forks)batch import
Roadmap: 2021 Q1help wanted

Repository-Metriken

Stars
 (19.563 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 16h) (138 gemergte PRs in 30 T)

Beschreibung

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