Skip to content

Commit

Permalink
Merge branch 'aspicer/group_pdi' of github.com:PostHog/posthog into a…
Browse files Browse the repository at this point in the history
…spicer/group_pdi
  • Loading branch information
aspicer committed Jun 20, 2024
2 parents 35e2cb2 + f2b3926 commit 6486f1e
Show file tree
Hide file tree
Showing 6 changed files with 116 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@
HAVING ifNull(equals(steps, max_steps), isNull(steps)
and isNull(max_steps)))
WHERE ifNull(in(steps, [2, 3]), 0)
ORDER BY aggregation_target ASC) AS source
ORDER BY aggregation_target ASC SETTINGS use_query_cache=1,
query_cache_ttl=600) AS source
INNER JOIN
(SELECT argMax(person.created_at, person.version) AS created_at,
person.id AS id
Expand Down Expand Up @@ -604,7 +605,8 @@
HAVING ifNull(equals(steps, max_steps), isNull(steps)
and isNull(max_steps)))
WHERE ifNull(in(steps, [1, 2, 3]), 0)
ORDER BY aggregation_target ASC) AS source
ORDER BY aggregation_target ASC SETTINGS use_query_cache=1,
query_cache_ttl=600) AS source
INNER JOIN
(SELECT argMax(person.created_at, person.version) AS created_at,
person.id AS id
Expand Down Expand Up @@ -723,7 +725,8 @@
HAVING ifNull(equals(steps, max_steps), isNull(steps)
and isNull(max_steps)))
WHERE ifNull(in(steps, [2, 3]), 0)
ORDER BY aggregation_target ASC) AS source
ORDER BY aggregation_target ASC SETTINGS use_query_cache=1,
query_cache_ttl=600) AS source
INNER JOIN
(SELECT argMax(person.created_at, person.version) AS created_at,
person.id AS id
Expand Down Expand Up @@ -842,7 +845,8 @@
HAVING ifNull(equals(steps, max_steps), isNull(steps)
and isNull(max_steps)))
WHERE ifNull(in(steps, [3]), 0)
ORDER BY aggregation_target ASC) AS source
ORDER BY aggregation_target ASC SETTINGS use_query_cache=1,
query_cache_ttl=600) AS source
INNER JOIN
(SELECT argMax(person.created_at, person.version) AS created_at,
person.id AS id
Expand Down
Loading

0 comments on commit 6486f1e

Please sign in to comment.