bcgov / cas-cif

CleanBC Industry Fund project
Apache License 2.0
6 stars 2 forks source link

As a CIF administrator, I want to have access to specific project metabase views/questions, so that I don't have to repeat a large amount of join statements #1826

Open pbastia opened 11 months ago

pbastia commented 11 months ago

Description:

Due to the relational nature of the CIF database, aggregating CIF data can be quite cumbersome and lead to a large amount of join statements, which can lead to errors and confusion. For example, linking a payment to the stream requires 5 or 6 relational hops that translate into joins in a metabase query.

This would be alleviated by creating ad-hoc views (or metabase questions) that aggregate some of that data already, especially in the case of 1..1 relationships.

What would go in those views is still TBD

Development Checklist:

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

Notes:

-