0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/clickhouse/queries/test
Michael Matloka 6daabb7b36
perf(persons): Prefilter person property conditions for reduced memory usage (#15507)
* perf: Prefilter rows in person search for reduced memory usage

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Better document `aggregate_by_person_version`

* Snapshot queries in more tests

* Use `DIRECT_ON_PERSONS` instead of new arg

* Explain `PersonPropertiesMode` options

* Streamline the various clauses

* Fix formatting

* Add comments and restore join optimization

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Fix comment typo

* Clarify persons-on-events v2

* Reduce parens

* Disambiguate prepends

* Update query snapshots

* Fix unmatched parens

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-05-15 17:54:51 +02:00
..
__snapshots__ perf(persons): Prefilter person property conditions for reduced memory usage (#15507) 2023-05-15 17:54:51 +02:00
__init__.py
test_breakdown_props.py refactor: Prevent mat columns decorator from being mistaken for a test (#13547) 2023-01-04 11:28:07 +00:00
test_cohort_query.py fix(cohort-query): select materialized properties through the cohort query (#14794) 2023-03-21 00:19:33 +01:00
test_column_optimizer.py fix(naming-things): replace with_data with shallow_clone (#13918) 2023-01-31 15:25:09 +01:00
test_event_query.py refactor(poe): using_person_on_events -> person_on_events_mode (#14792) 2023-03-20 12:03:36 -03:00
test_groups_join_query.py
test_lifecycle.py feat(data-exploration): HogQL filters again (#13830) 2023-01-31 14:57:10 +01:00
test_paths.py feat(poe-v2): poe v2 support for paths (#14903) 2023-04-12 10:58:48 -05:00
test_person_distinct_id_query.py
test_person_query.py fix(person-query): query cohorts correctly (#15288) 2023-05-01 10:25:06 +01:00
test_property_optimizer.py fix(naming-things): replace with_data with shallow_clone (#13918) 2023-01-31 15:25:09 +01:00
test_retention.py feat(poe-v2): scaffolding for PoE v2 on event queries, full support in retention queries (#14830) 2023-03-21 11:50:12 -03:00
test_util.py feat(hogql): custom virtual database per team (#14740) 2023-03-17 10:49:17 +01:00