mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 17:44:43 +03:00
8ba2b934b3
* 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 |
||
---|---|---|
.. | ||
data_migrations | ||
ingest_repo | ||
ref_inspector | ||
repo | ||
static | ||
tracker/js | ||
ua_inspector | ||
legacy_plans.json | ||
paddle_sandbox.pem | ||
paddle.pem | ||
placeholder_favicon.ico | ||
plans_v1.json | ||
plans_v2.json | ||
plans_v3.json | ||
plans_v4.json | ||
referer_favicon_domains.json | ||
sandbox_plans.json |