0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/ee/clickhouse/sql
Eric Duong 9514e290a2
Static cohort on person modal (#2952)
* Upload static cohort using CSV, closes #2868

* fix tests

* Fix tests

* Fix e2e test

* Avoid double inserts

* Speed up query

* Move to params

* fix tests

* initial cleanup

* initial scaffold for cohort static logic

* intiial frontend changes

* initial working

* fix error on iterable

* stickiness people func refactor

* Use JSON instead of protobuf

* stickiness working

* clickhouse route

* unused import

* move button

* make interface easier to user

* clickhouse support

* restore cache decorator

* endpoint adjustment

* adjust how clickhouse handles inserting for static cohorts

* split out processing into pg

* use worker for clickhouse querying too

* add pg test

* ee test

* add input for cohort naming

* add stickiness test

* condition for when to show save cohort

* fix types

* minor fix

* remove repeats

* remove hardcoded id

* add date handling to trends cohort func

* remove print

* add link on success creation

* cohort working

* fix backend test

* fix cohort typescript

* remove unnecessary kafka topic

* remove brackets

* shift default

* raise exceptions when debug or test is true

* remove test flag

* move trends insight related components to different folder

* change get_earliest_timestamp

* remove extraneous condition

* fix test call

* put behind ff

* fix test x2

* fix tests

* restore exceptions hog

* fix tests

* restore exceptions hog

* fix test x20

Co-authored-by: Tim Glaser <tim@glsr.nl>
2021-02-24 09:59:13 -05:00
..
funnels 1269 funnel trends 2 (#3079) 2021-02-05 14:32:28 +01:00
paths Move away from ewap to speed up queries (#2540) 2020-11-30 11:22:31 +01:00
retention 3293 retention hourly bug (#3358) 2021-02-17 09:45:51 -05:00
sessions Rework sessions list query to account for pagination (#3296) 2021-02-12 09:41:10 +02:00
stickiness Stickiness improvement and filter refactor (#2638) 2020-12-04 20:42:01 +01:00
trends Formulas (#3275) 2021-02-11 20:20:01 +01:00
__init__.py
actions.py Simplify action queries (#2167) 2020-11-03 16:06:25 +01:00
clickhouse.py Finish the local dev w/ proto setup (#2254) 2020-11-06 17:15:19 -08:00
cohort.py fix queries (#2299) 2020-11-09 18:17:46 -05:00
element.py Closes #2283 fix heatmap (#2309) 2020-11-11 15:08:12 +01:00
events.py Don't include materialized columns in kafka table (#3026) 2021-01-20 20:39:20 -08:00
person.py Static cohort on person modal (#2952) 2021-02-24 09:59:13 -05:00
session_recording_events.py Session recording on clickhouse, separate tables and retention cronjob (#2051) 2020-10-28 21:22:16 +01:00