Turn subquery result to array in Kylin

60 Views Asked by At

How can I turn the result from subquery into an array in Kylin? In PostgresSQL, I can do it like the query below, but in Kylin it is an error.

SELECT ARRAY(
    SELECT A.ID
    FROM A
    WHERE A.num = 123
)
1

There are 1 best solutions below

0
Li Yang On

Checked Kylin SQL reference, there is no such ARRAY function or similar. Seems the feature you are looking for is not in Kylin yet.