Add a test for #15540

This commit is contained in:
Alexey Milovidov 2020-10-28 04:35:40 +03:00
parent f573aeb97e
commit b767efd889
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
SELECT
count(),
sum(ns)
FROM
(
SELECT intDiv(number, NULL) AS k
FROM system.numbers_mt
GROUP BY k
)
ARRAY JOIN ns; -- { serverError 47 }