From 239bbaa1338b0b34d856665a08bcb978411b2102 Mon Sep 17 00:00:00 2001 From: udiz Date: Tue, 19 Nov 2024 00:00:43 +0000 Subject: [PATCH] use length --- tests/queries/0_stateless/03216_arrayWithConstant_limits.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/0_stateless/03216_arrayWithConstant_limits.sql b/tests/queries/0_stateless/03216_arrayWithConstant_limits.sql index 1d13454e013..b9577e2ca53 100644 --- a/tests/queries/0_stateless/03216_arrayWithConstant_limits.sql +++ b/tests/queries/0_stateless/03216_arrayWithConstant_limits.sql @@ -3,4 +3,4 @@ SELECT arrayWithConstant(100000000, materialize([[[[[[[[[['Hello, world!']]]]]]] SELECT length(arrayWithConstant(10000000, materialize([[[[[[[[[['Hello world']]]]]]]]]]))); CREATE TEMPORARY TABLE args (value Array(Int)) ENGINE=Memory AS SELECT [1, 1, 1, 1] as value FROM numbers(1, 100); -SELECT arrayWithConstant(1000000, value) FROM args FORMAT NULL; +SELECT length(arrayWithConstant(1000000, value)) FROM args FORMAT NULL;