MAPREDUCE服务 MRS-UNNEST:使用多个列

时间:2024-10-16 17:58:33

使用多个列

SELECT numbers, animals, n, a
FROM (
VALUES
(ARRAY[2, 5], ARRAY['dog', 'cat', 'bird']),
(ARRAY[7, 8, 9], ARRAY['cow', 'pig'])
) AS x (numbers, animals)
CROSS JOIN UNNEST(numbers, animals) AS t (n, a);
support.huaweicloud.com/cmpntguide-lts-mrs/mrs_01_300186.html