0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/clickhouse/sql
Karl-Aksel Puulmann 35813b3b49
Refactor breakdowns to work with materialized person columns (#5807)
* Make breakdown join with person if needed

* Refactor trends to be purely class-based, don't rely on wonky inheritance

* Extract method

* Improve person join behavior

* Remove unneeded parameter

* Mark a function thats always passed as such

* Add test case demonstrating previous non-join case

* Unify two get_breakdown_prop_values methods

* Add test for materialized columns

* Simplify trends breakdown query

* Unify _breakdown_prop_params for events/person breakdowns

* Use shared column_optimizer

* Typing fix

* Cleanup

* Code style cleanup

* Code style cleanup

* Fix param ordering
2021-09-07 09:05:13 +03:00
..
funnels Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00
paths Treat URLs with trailing slash as equivalent in Paths computation, and some bug fixes (#5763) 2021-08-27 15:28:01 -04:00
retention Revert "Revert "Add is_deleted column to person_distinct_id"" (#5194) 2021-07-19 19:47:41 -07:00
sessions
stickiness Revert "Revert "Add is_deleted column to person_distinct_id"" (#5194) 2021-07-19 19:47:41 -07:00
trends Refactor breakdowns to work with materialized person columns (#5807) 2021-09-07 09:05:13 +03:00
__init__.py
actions.py
clickhouse.py
cohort.py Add support for cohort-based cohorts (#5632) 2021-08-19 10:59:03 +02:00
element.py
events.py Materialize person columns automatically (#5760) 2021-08-28 12:14:30 +03:00
person.py Migrate person_distinct_id table to CollapsingMergeTree (#5563) 2021-08-18 17:25:02 +03:00
plugin_log_entries.py Revert "Revert "Add is_deleted column to person_distinct_id"" (#5194) 2021-07-19 19:47:41 -07:00
session_recording_events.py Rework SessionsPlayerButton and clean up Sessions UI (#5745) 2021-08-26 19:17:30 +02:00