use length

This commit is contained in:
udiz 2024-11-19 00:00:43 +00:00
parent 07fac5808d
commit 239bbaa133

View File

@ -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;