Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(funnel):
TypeError
for funnel with display=ActionsLineGraph (#6538
) * Revert "perf(funnels): add filter on pdi.team_id to speed up query (#5997)" This merged caused an issue with the funnels endpoint when display was set to `ActionsLineGraph` I'm reverting so we can add in a snapshot test that will fail when this revert is reverted. This reverts commit 2fb7cf8. * test(funnel): add snapshot test for funnel trend query for postgres This test just checks the Funnel with `display="ActionsLineGraph"` against what it previously did before #5997 was merged. This code path was previously untested, so the issue wasn't picked up and resulted in #6530 * Revert "Revert "perf(funnels): add filter on pdi.team_id to speed up query" Now that we have a test in place for #6530 I'm reverting this revert so we can implement a fix. This reverts commit 49761a3. * only test on postgres * fix(funnel): `TypeError` for funnel with display=ActionsLineGraph This resolves an issue what was introduced by #5997 where we would fail to calculate a funnel result if display="ActionsLineGraph" was specified. The fix was simply to wrap a string in `sql.SQL`. Resolves #6530 * fix import order * move test outside of test factory * remove imports * move test
- Loading branch information