mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +01:00
f43ad0334e
* refactor(retention): add AppearanceRow dataclass to improve readability This just makes it a little more clear what is being pulled out of the database. Previously we were just getting a list of lists. I haven't done anything else here but will follow up with a fix for https://github.com/PostHog/posthog/issues/5443 * test(retention): reproduce retention marker index error * fix(retention): make retention forgiving of too much data from query This just makes the `appearance_to_markers` method not fail if the underlying clickhouse query returns more data than expected. It should just be less efficient than it could be and should still give the correct results. Previously it would silently fail to include any data in these cases. Closes https://github.com/PostHog/posthog/issues/5443 Co-authored-by: Harry Waye <harry@scalexp.com> |
||
---|---|---|
.. | ||
api | ||
bin | ||
certs | ||
clickhouse | ||
idl | ||
kafka_client | ||
management/commands | ||
migrations | ||
models | ||
tasks | ||
__init__.py | ||
apps.py | ||
conftest.py | ||
docker-compose.ch.arm64.yml | ||
docker-compose.ch.test.yml | ||
docker-compose.ch.yml | ||
LICENSE | ||
settings.py | ||
urls.py |