diff --git a/tests/queries/0_stateless/03243_array_join_lambda.reference b/tests/queries/0_stateless/03243_array_join_lambda.reference new file mode 100644 index 00000000000..057d00e5851 --- /dev/null +++ b/tests/queries/0_stateless/03243_array_join_lambda.reference @@ -0,0 +1 @@ +[2,3] diff --git a/tests/queries/0_stateless/03243_array_join_lambda.sql b/tests/queries/0_stateless/03243_array_join_lambda.sql new file mode 100644 index 00000000000..0cd93a8d781 --- /dev/null +++ b/tests/queries/0_stateless/03243_array_join_lambda.sql @@ -0,0 +1 @@ +SELECT arrayMap(x -> (x + length(arrayJoin([arrayMap(y -> (y + 1), [3])]))), [1, 2]);