Closed matthewcornell closed 3 years ago
Results of today's meeting with @nickreich and @elray1 :
Updated examples: Zoltar as_of query examples
Results: 1a. in uploading a version (issue_date), users can mark a previous row as "deleted" by passing NULL for its value = Q: first cannot be NULL? = Q: other business rules?
1b. as_of will exclude NULL value rows from query results for any as_of >= that issue date
Right now
as_of
operates at the at the forecast/timezero/issue_date level, not factoring in the unit/target level. This works OK with our current covidhub convention whereby forecast updates are done for all unit/target combinations. However, when we implement county-level truth forecasts, the files will be too large (~16MB) to upload with duplicates. Therefore we want to update/patch only "diffs". However, that will expose the weakness of the currentas_of
implementation. See the example at Zoltar as_of query examples.A prerequisite to: [Think about representing truth as an oracle model #280].