PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.18k stars 1.25k forks source link

fix(insights): Fix empty breakdown breaking historical trends #23307

Closed webjunkie closed 3 months ago

webjunkie commented 3 months ago

Problem

Fixes #22928 Fixes POSTHOG-1D9M

Changes

How did you test this code?

Added test

sentry-io[bot] commented 3 months ago

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: posthog/hogql_queries/insights/funnels/funnel_trends.py

Function Unhandled Issue
_format_results Cohort.DoesNotExist: Cohort matching query does not exist. posthog.tasks.tasks.process_...
Event Count: 3
_format_results TypeError: '<' not supported between instances of 'list' and 'str' posthog.tasks.tasks....
Event Count: 3

Did you find this useful? React with a 👍 or 👎