SQL queryable views similar to the ODS/API #12
Replies: 2 comments 13 replies
-
|
A general question: Are we talking here about creating an official Ed-Fi Specification for SQL views? It's an interesting idea but the ODS/API's schema would be my last choice as a template for that if we were starting from scratch. Just raising this as a note of caution. |
Beta Was this translation helpful? Give feedback.
-
|
I think the Tanager way of doing this would be as a separate datastore downstream from the Tanager datastore. Call it the "Legacy View" Tanager module. It would be something that subscribes to the change event stream and populates the datastore based on that. I think the codebase would basically be ODS/API-lite and could reuse some of the original ODS/API code as a starting point. You'd only need the JSON -> SQL portion of the ODS/API codebase. Leveraging that codebase means there would still be codegen but it would only be a subset. As a standalone Tanager module, it would be easier for the community to choose to use or not, not impact Tanager performance either way, and be easier to contribute to and maintain. It would still require MetaEd support for SQL and ApiModel generation, but slimmed down versions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The purpose of this discussion is to clarify requirements and brainstorm ideas around Tanager presenting SQL queryable views similar to the ODS/API in a datastore.
For context, there are production systems that directly query the ODS/API datastore for things like validation and reporting. In the Tanager paradigm this kind of data integration would be performed downstream of the Tanager datastore. For example, document change events could be streamed to a data lake where the SQL queries would be made. However, there is a desire in the community to reuse existing ODS/API datastore integrations as much as possible. While data lake SQL queries would follow directly from the structure of API documents, the queries would be fairly different from ones against the ODS/API's unique relational structure.
Beta Was this translation helpful? Give feedback.
All reactions