Add a test for #14740

This commit is contained in:
Alexey Milovidov 2021-03-03 02:00:19 +03:00
parent c78256ad65
commit a93e29ef4a
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
SELECT *
FROM
(
WITH
(
SELECT groupArray(a)
FROM
(
SELECT 1 AS a
)
) AS keys,
(
SELECT groupArray(a)
FROM
(
SELECT 2 AS a
)
) AS values
SELECT *
FROM
(
SELECT 1 AS a
)
WHERE transform(a, keys, values, 0)
) AS wrap;