0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Eric Duong
5eb98ef624
refactor: move event and person query to /posthog (#8970)
* refactor: move event and person query to /posthog

* move imports

* another import

* refactor: move actions

* refactor: move actions

* enterprise

* trigger tests

* test

* make dummy
2022-03-22 20:27:11 +00:00
Karl-Aksel Puulmann
c0f7dbf3a8
fix(sharding): Make sharding async migration more reliable (#9012)
* fix(sharding): Improve the 0004 sharding migration

This change:
- Makes the rollbacks always work by
    - Fixing some operations from before
    - Creating/deleting materialized views correctly
    - Ensuring zookeeper paths are unique
- Handles an edge case around moving tables by retrying

* Rename a parameter

* Verify migration status

* Update a test

* >=

* Update ee/clickhouse/errors.py

Co-authored-by: Tiina Turban <tiina303@gmail.com>

* Update code comment

* Update log message

* Type:ignore

Co-authored-by: Tiina Turban <tiina303@gmail.com>
2022-03-15 15:21:29 +02:00
Guido Iaquinti
0ef7f6a493
ci(flake8): enable unused import check (#8714) 2022-03-08 09:53:54 +01:00
Karl-Aksel Puulmann
f25ae0a879
Generate clickhouse query error class dynamically (#5492)
This helps with not grouping sentry errors together.

See issue for more context

Closes https://github.com/PostHog/posthog/issues/5491
2021-08-06 16:31:42 +01:00