Skip to content

Test Materialized Views - #87

Draft
schbetsy wants to merge 7 commits into
mainfrom
materialized-rest
Draft

Test Materialized Views#87
schbetsy wants to merge 7 commits into
mainfrom
materialized-rest

Conversation

@schbetsy

Copy link
Copy Markdown
Collaborator

WIP

schbetsy and others added 7 commits July 27, 2026 14:15
And populate it after evalutors run
This modifies the existing filter `EvaluatorResultFilterSet` to use the materialized view model, and adjusts field names to the model while retaining the API-facing fieldnames.

It does the same for a new serializer to serialize the materialized view, mapping materialized view fieldnames to the expected API fieldnames (which use Django __ notation for relations).
There are a few simplifications the materialized view brings to the EvaluatorResultsView. First, we can get rid of the result summary query method, we can simplfy the queryset, and we can use the serializer on the class directly.

I've also broken the sampling out of the list() method into its own method, because I think we can eliminate the S3 sampling entirely at some point with the materialized view.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants