0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 12:21:02 +01:00
posthog/ee/clickhouse/queries/funnels
Karl-Aksel Puulmann a8a33251a9
Use materialized person properties in trends & funnels (#5705)
* ColumnOptimizer: Add functionality for person materialized columns

* WIP: Use person properties in trends/funnels

* Test person materialized props in trends cohort breakdown query

* Make use of materialized person properties in breakdowns

* Mark some cases working with materialized columns

* Test and fix breakdown by person props without filtering

* Make filtering by entity/person props on a join work better

By not assuming everything is under `properties`

* Add test case around breakdown with person properties

* Add test cases around materialization

* Add another materialization test

* Test cohorts and fix breakdowns with person filter

This exposes a limitation in the current implementation

* Fix some cohort tests

* Fix event query tests

* Get a funnel materialized column test running

* Cover more funnel breakdown tests with materialized

* Handle person property breakdowns in funnels

* Fixup funnel typo

* Add tests, fix an indentation issue

* TestFunnelPersons with materialized columns

* Test funnels against actions with person filters

* Add failing test for entity filtering failing

* Add test case for filtering with entity properties

* Show my 'broken' test is actually doing a subquery

* Resolve linting issues
2021-08-26 18:00:49 +00:00
..
test Use materialized person properties in trends & funnels (#5705) 2021-08-26 18:00:49 +00:00
__init__.py Mix and Match ordering and visualization of funnels (#5031) 2021-07-08 16:38:42 +00:00
base.py Use materialized person properties in trends & funnels (#5705) 2021-08-26 18:00:49 +00:00
funnel_event_query.py Use materialized person properties in trends & funnels (#5705) 2021-08-26 18:00:49 +00:00
funnel_persons.py Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00
funnel_strict_persons.py Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00
funnel_strict.py Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00
funnel_time_to_convert.py Ensure time_to_convert bins stay uniform (#5316) 2021-07-23 10:40:17 -04:00
funnel_trends_persons.py Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00
funnel_trends.py Use proper interval calculation in the funnel trends query (#5467) 2021-08-06 11:29:35 +02:00
funnel_unordered_persons.py Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00
funnel_unordered.py Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00
funnel.py Funnel persons path (#5699) 2021-08-25 12:02:49 +01:00