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
2024-02-22 09:54:39 +02:00
..
data_migrations Add data migration for moving sessions_v2 table to VersionedCollapsingMergeTree (#3802) 2024-02-22 09:54:39 +02:00
ingest_repo Add table migrations for supporting multiple imports per site (#3785) 2024-02-13 17:26:19 +01:00
ref_inspector Update ref_inspector database (#3697) 2024-01-22 09:30:38 +01:00
repo Allow site deletion with IP Rules stored (#3804) 2024-02-21 08:36:43 +01:00
static Simplify asset building (#3459) 2023-11-01 16:27:29 +02:00
tracker/js Remove static tracker files (#2116) 2022-10-11 12:19:28 +02:00
ua_inspector Update ua_inspector database (#3698) 2024-01-22 09:30:31 +01:00
legacy_plans.json Legacy plans (#3455) 2023-10-25 13:46:55 +03:00
paddle_sandbox.pem Move limit enforcement to accepting site ownership transfer (#3612) 2023-12-20 14:56:49 +00:00
paddle.pem Initial commit 2019-09-02 12:29:19 +01:00
placeholder_favicon.ico Add fallback for favicon (#2279) 2022-09-28 08:55:46 -03:00
plans_v1.json List plan benefits on the new upgrade page (#3444) 2023-10-23 19:42:00 +03:00
plans_v2.json List plan benefits on the new upgrade page (#3444) 2023-10-23 19:42:00 +03:00
plans_v3.json List plan benefits on the new upgrade page (#3444) 2023-10-23 19:42:00 +03:00
plans_v4.json Add data retention to the choose plan page (#3605) 2023-12-12 08:19:54 -03:00
referer_favicon_domains.json Additional pre-commit hooks (#1428) 2021-11-03 15:46:12 +01:00
sandbox_plans.json Add data retention to the choose plan page (#3605) 2023-12-12 08:19:54 -03:00