0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-25 02:49:32 +01:00
posthog/ee/clickhouse/sql/cohort.py
Eric Duong 96a614ee25
Prune person materialized (#2166)
* remove person properties up to date

* remove person props mv

* move latest person

* prune rest of person materialized

* missing parenth

* add type

* remove migration
2020-11-02 15:44:38 -05:00

4 lines
134 B
Python

CALCULATE_COHORT_PEOPLE_SQL = """
SELECT distinct_id FROM person_distinct_id where person_id IN {query} AND team_id = %(team_id)s
"""