Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Oct 11, 2024
1 parent a7b7b3f commit a46ec55
Show file tree
Hide file tree
Showing 45 changed files with 274 additions and 19,649 deletions.
63 changes: 21 additions & 42 deletions ee/clickhouse/queries/funnels/test/__snapshots__/test_funnel.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -279,9 +278,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -425,9 +423,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -564,9 +561,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [1, 2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('finance'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -708,9 +704,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('finance'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -852,9 +847,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [1, 2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('technology'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -996,9 +990,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('technology'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -1137,9 +1130,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -1287,9 +1279,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -1433,9 +1424,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -1549,9 +1539,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [1, 2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('finance'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -1670,9 +1659,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('finance'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -1791,9 +1779,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [1, 2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('technology'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -1912,9 +1899,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('technology'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -2053,9 +2039,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -2203,9 +2188,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -2349,9 +2333,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
GROUP BY prop
'''
# ---
Expand Down Expand Up @@ -2645,9 +2628,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [1, 2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('technology'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -2946,9 +2928,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('technology'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -3247,9 +3228,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [1, 2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('finance'))
ORDER BY aggregation_target
Expand Down Expand Up @@ -3548,9 +3528,8 @@
WHERE step_0 = 1 ))
GROUP BY aggregation_target,
steps,
max_steps,
prop
HAVING steps = max_steps)
HAVING steps = max(max_steps))
WHERE steps IN [2, 3]
AND arrayFlatten(array(prop)) = arrayFlatten(array('finance'))
ORDER BY aggregation_target
Expand Down
Loading

0 comments on commit a46ec55

Please sign in to comment.