Skip to content

3.3.0

Latest
Compare
Choose a tag to compare
@mrsarm mrsarm released this 21 May 21:46
e6ff06b

Deprecate old medic-users-meta views and create new ones fixing bugs and making compatible with upcoming daily telemetry.

Issues: #85 , #86 , #87

Changes:

  • [Bug] Change the indexes for both views (telemetry and feedback) based on the columns user_name and period_start, the PR remove the unique constraint to avoid collisions, and instead the uuid of the records are used as unique index to allow concurrent refresh of the views (#86).
  • [Bug] Fix bug that causes records being parsed with months 0-indexed as 1-indexed and vice versa (thanks to @kitsao ) (#87).
  • [Improvement] The column period_start from the telemetry view has the same DATE type, but the day component is parsed from the JSON metadata.day field if present (daily aggregation telemetry from this upcoming CHT feature), otherwise defaulted to 1 as it was before to maintain backward compatibility with monthly aggregation telemetry (#85).

Affected views:

  • Feedback view: useview_feedback
  • Telemetry view: useview_telemetry