mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-28 18:26:15 +01:00
5bb713626b
* use json extract inside steps for funnelq eury * remove print * fix broken query and add person prop filtering in funnel with test
10 lines
319 B
Python
10 lines
319 B
Python
STEP_EVENT_SQL = """
|
|
arrayFilter(
|
|
(timestamp, event, uuid, properties {person_prop_param}) ->
|
|
{is_first_step} AND
|
|
(team_id = {team_id}) AND
|
|
event = '{event}' {filters}
|
|
, timestamps, eventsArr, event_ids, event_props {person_prop_arg}
|
|
)[1] AS step_{step}
|
|
"""
|