Array examples
Unnest the elements of an array into separate rows.
One row for each array element
The following query returns one row for each element of the path array:
SELECT b.*, u.*
FROM bgp_avro b,
UNNEST(b.path) AS u(pathitem);
Unnest the elements of an array into separate rows.
The following query returns one row for each element of the path array:
SELECT b.*, u.*
FROM bgp_avro b,
UNNEST(b.path) AS u(pathitem);