diff --git a/dbms/tests/queries/0_stateless/00545_weird_aggregate_functions.reference b/dbms/tests/queries/0_stateless/00545_weird_aggregate_functions.reference new file mode 100644 index 00000000000..79ce2f9940a --- /dev/null +++ b/dbms/tests/queries/0_stateless/00545_weird_aggregate_functions.reference @@ -0,0 +1 @@ +[12,15,18] diff --git a/dbms/tests/queries/0_stateless/00545_weird_aggregate_functions.sql b/dbms/tests/queries/0_stateless/00545_weird_aggregate_functions.sql new file mode 100644 index 00000000000..1f662850d05 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00545_weird_aggregate_functions.sql @@ -0,0 +1 @@ +SELECT sumForEachMergeArray(y) FROM (SELECT sumForEachStateForEachIfArrayIfMerge(x) AS y FROM (SELECT sumForEachStateForEachIfArrayIfState([[[1, 2, 3], [4, 5, 6], [7, 8, 9]]], [1], 1) AS x));