0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/clickhouse/migrations
Karl-Aksel Puulmann 78a787bc3b
Create and populate person_distinct_id2 table, add versioning to person_distinct_id (#7576)
* Migration to add version to person_distinct_id

* Update plugin-server type

* Use queueMessages instead of for loops

* Update distinct id versions in postgres

* Add commented out new query

* Add person_distinct_id2 table setup/migration

This will be used for more efficient person_distinct_id queries

* Avoid sharding person_distinct_id2 on cloud

* Write to new distinct ids topic

* Attempt to use version in tests

* Tests attempt 2

* Fixup version - dont send with all messages

* Flush kafka more frequently

* Actually fix tests

* Add another await

* Add partition to person_distinct_id2 table
2021-12-08 16:47:57 +02:00
..
__init__.py
0001_initial.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0002_events_materialized.py
0003_person.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0004_kafka.py
0006_session_recording_events.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0007_static_cohorts_table.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0008_plugin_log_entries.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0009_person_deleted_column.py
0010_cohortpeople.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0011_cohortpeople_no_shard.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0012_person_id_deleted_column.py Revert "Revert "Add is_deleted column to person_distinct_id"" (#5194) 2021-07-19 19:47:41 -07:00
0013_persons_distinct_ids_column.py Add migration for distinct_id column on clickhouse person table (#5276) 2021-07-22 14:30:12 +03:00
0014_persons_distinct_ids_column_remove.py Revert person.distinct_ids column (#5354) 2021-07-28 16:02:05 +03:00
0015_materialized_column_comments.py Group analytics: Initial schema (#6462) 2021-10-25 15:05:58 +03:00
0016_collapsing_person_distinct_id.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0017_events_dead_letter_queue.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0018_group_analytics_schema.py Add snapshot tests for clickhouse table schemas (#7572) 2021-12-08 16:07:34 +02:00
0019_group_analytics_materialized_columns.py Groups: Use materialized columns for groups (#6938) 2021-11-08 15:49:39 +02:00
0020_session_recording_events_window_id.py Ingest window_id for recordings (#6806) 2021-11-08 14:29:54 -08:00
0021_session_recording_events_materialize_full_snapshot.py Materialize has_full_snapshot in session_recording_events (#7281) 2021-11-29 16:18:08 -08:00
0022_person_distinct_id2.py Create and populate person_distinct_id2 table, add versioning to person_distinct_id (#7576) 2021-12-08 16:47:57 +02:00