|
|
|
|
|
by ksri
3321 days ago
|
|
Jinjasql is meant for reporting use cases, so yes - it should be able to help you. However, when we made JinjaSQL, we didn't want to build a super-expressive reporting API. Instead, for every report/chart we wanted to make, we wrote a comparatively simpler query and used jinjasql to get it working. If you have a single complex query that is generating all your reports based on database configuration - I'm guessing you need the full power of python. So while JinjaSQL could have save some effort, I'm not sure it'd save you a lot. Hope that helps! |
|
The reports are all API driven. User specifies dimensions and metrics, as well as filters, etc. The API returns the JSON response.
I can't predict what users will want to visualize in the future, so dedicated templates for each of the visualizations are not practical for my use case.
The goal is to minimize dev work on the API and let front end config dictate what columns the API returns.