Skip to content

Updates sessions cube schema

Surabhi Suman requested to merge 443624-aggregate-clickhouse-query-result into main

What does this MR do and why?

Previous cube schema Sessions sometimes returned unmerged results(delay in merging by clickhouse) when queried which resulted in decreasing sessions count for the same period. This modifies cube schema Sessions with aggregated values so that cube query don't return unmerged sessions data.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Update cube schema in docker.
  2. Product analytics audience dashboards should work normally.
  3. Manually querying Sessions cube for all existing queries should work fine too.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to https://gitlab.com/gitlab-org/gitlab/-/issues/443624

Edited by Surabhi Suman

Merge request reports