0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/clickhouse/queries/funnels
Karl-Aksel Puulmann 3a4beda2ad
Speed up person_distinct_id queries for select clients (#7577)
* Create a new way to get distinct id queries thats gated by team_id

* Update most cases to use the new query

* Convert EVENT_JOIN_PERSON_SQL to new query

* Mostly convert GET_DISTINCT_IDS_BY_PERSON_ID_FILTER

* Mostly convert GET_DISTINCT_IDS_BY_PROPERTY_SQL

* Convert GET_PERSON_IDS_BY_FILTER

* Flag benchmarks

* Resolve circular imports

* Update a snapshot test

* Add a test for the new query logic
2021-12-08 15:59:41 +02:00
..
test [actor] Funnel correlation actor (#7456) 2021-12-06 09:43:58 -05:00
__init__.py
base.py
funnel_correlation_persons.py [actor] Funnel correlation actor (#7456) 2021-12-06 09:43:58 -05:00
funnel_correlation.py Speed up person_distinct_id queries for select clients (#7577) 2021-12-08 15:59:41 +02:00
funnel_event_query.py
funnel_persons.py
funnel_strict_persons.py
funnel_strict.py
funnel_time_to_convert.py
funnel_trends_persons.py
funnel_trends.py
funnel_unordered_persons.py
funnel_unordered.py
funnel.py