Skip to content

Commit

Permalink
Update query snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 11, 2024
1 parent a7b7b3f commit 512aeeb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
matched_events_array[1] AS matching_events
FROM
(SELECT arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(timestamp, 'Float64'), uuid, [], arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, step_0), multiply(2, step_1), multiply(3, step_2)])))) AS events_array,
arrayJoin(aggregate_funnel_array(3, 1209600, 'first_touch', 'ordered', [[]], events_array)) AS af_tuple,
arrayJoin(aggregate_funnel_array_v0(3, 1209600, 'first_touch', 'ordered', [[]], events_array)) AS af_tuple,
af_tuple.1 AS step_reached,
plus(af_tuple.1, 1) AS steps,
af_tuple.2 AS breakdown,
Expand Down Expand Up @@ -83,7 +83,7 @@
matched_events_array[2] AS matching_events
FROM
(SELECT arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(timestamp, 'Float64'), uuid, [], arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, step_0), multiply(2, step_1), multiply(3, step_2)])))) AS events_array,
arrayJoin(aggregate_funnel_array(3, 1209600, 'first_touch', 'ordered', [[]], events_array)) AS af_tuple,
arrayJoin(aggregate_funnel_array_v0(3, 1209600, 'first_touch', 'ordered', [[]], events_array)) AS af_tuple,
af_tuple.1 AS step_reached,
plus(af_tuple.1, 1) AS steps,
af_tuple.2 AS breakdown,
Expand Down Expand Up @@ -157,7 +157,7 @@
matched_events_array[2] AS matching_events
FROM
(SELECT arraySort(t -> t.1, groupArray(tuple(accurateCastOrNull(timestamp, 'Float64'), uuid, [], arrayFilter(x -> ifNull(notEquals(x, 0), 1), [multiply(1, step_0), multiply(2, step_1), multiply(3, step_2)])))) AS events_array,
arrayJoin(aggregate_funnel_array(3, 1209600, 'first_touch', 'ordered', [[]], events_array)) AS af_tuple,
arrayJoin(aggregate_funnel_array_v0(3, 1209600, 'first_touch', 'ordered', [[]], events_array)) AS af_tuple,
af_tuple.1 AS step_reached,
plus(af_tuple.1, 1) AS steps,
af_tuple.2 AS breakdown,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.1
'''

SELECT replaceRegexpAll(JSONExtractRaw(group_properties_0, 'industry'), '^"|"$', '') AS value,
count(*) as count
FROM events e
Expand All @@ -482,7 +482,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.2
'''

SELECT aggregation_target AS actor_id
FROM
(SELECT aggregation_target,
Expand Down Expand Up @@ -580,7 +580,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.3
'''

SELECT replaceRegexpAll(JSONExtractRaw(group_properties_0, 'industry'), '^"|"$', '') AS value,
count(*) as count
FROM events e
Expand All @@ -603,7 +603,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.4
'''

SELECT aggregation_target AS actor_id
FROM
(SELECT aggregation_target,
Expand Down Expand Up @@ -701,7 +701,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.5
'''

SELECT replaceRegexpAll(JSONExtractRaw(group_properties_0, 'industry'), '^"|"$', '') AS value,
count(*) as count
FROM events e
Expand All @@ -724,7 +724,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.6
'''

SELECT aggregation_target AS actor_id
FROM
(SELECT aggregation_target,
Expand Down Expand Up @@ -822,7 +822,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.7
'''

SELECT replaceRegexpAll(JSONExtractRaw(group_properties_0, 'industry'), '^"|"$', '') AS value,
count(*) as count
FROM events e
Expand All @@ -845,7 +845,7 @@
# ---
# name: TestStrictFunnelGroupBreakdownUDF.test_funnel_breakdown_group.8
'''

SELECT aggregation_target AS actor_id
FROM
(SELECT aggregation_target,
Expand Down

0 comments on commit 512aeeb

Please sign in to comment.