You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/priv
Karl-Aksel Puulmann 8ba2b934b3
Add data migration for moving sessions_v2 table to VersionedCollapsingMergeTree (#3802)
* Add data migration for moving to VersionedCollapsingMergeTree

This has been tested locally and partially on staging. Still requires a bit of work to verify.

Verification query:

```
SELECT main._partition_id, tmp.count, main.count
FROM (
SELECT _partition_id, count() AS count
FROM sessions_v2_tmp_versioned
GROUP BY _partition_id
) AS tmp
FULL OUTER JOIN (
SELECT _partition_id, count() AS count
FROM sessions_v2
GROUP BY _partition_id
) AS main
ON (tmp._partition_id == main._partition_id)
ORDER BY main._partition_id
```

* Add an early exit to migration

* cluster? extract common code
3 years ago
..
data_migrations Add data migration for moving sessions_v2 table to VersionedCollapsingMergeTree (#3802) 3 years ago
ingest_repo Add table migrations for supporting multiple imports per site (#3785) 3 years ago
ref_inspector Update ref_inspector database (#3697) 3 years ago
repo Allow site deletion with IP Rules stored (#3804) 3 years ago
static Simplify asset building (#3459) 3 years ago
tracker/js Remove static tracker files (#2116) 4 years ago
ua_inspector Update ua_inspector database (#3698) 3 years ago
legacy_plans.json Legacy plans (#3455) 3 years ago
paddle.pem Initial commit 7 years ago
paddle_sandbox.pem Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago
placeholder_favicon.ico Add fallback for favicon (#2279) 4 years ago
plans_v1.json List plan benefits on the new upgrade page (#3444) 3 years ago
plans_v2.json List plan benefits on the new upgrade page (#3444) 3 years ago
plans_v3.json List plan benefits on the new upgrade page (#3444) 3 years ago
plans_v4.json Add data retention to the choose plan page (#3605) 3 years ago
referer_favicon_domains.json Additional pre-commit hooks (#1428) 5 years ago
sandbox_plans.json Add data retention to the choose plan page (#3605) 3 years ago