mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Add a test for #14740
This commit is contained in:
parent
c78256ad65
commit
a93e29ef4a
@ -0,0 +1 @@
|
||||
1
|
27
tests/queries/0_stateless/01747_transform_empty_arrays.sql
Normal file
27
tests/queries/0_stateless/01747_transform_empty_arrays.sql
Normal 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;
|
Loading…
Reference in New Issue
Block a user