Skip to content
#

embedded-database

Here are 131 public repositories matching this topic...

duckdb
pgabry
pgabry commented Jan 13, 2022

In Big Query there is a function array_concat_agg that aggregates array fields by concatenating the arrays. In Snowflake there is a flatten function that can unnest nested arrays into single array. I am looking for similar functionality in duckdb.

select flatten([[1, 2], [2, 3], [4, 5]] would return [1, 2, 2, 3, 4, 5]
I would also need a distinct option:
`select flatten(DISTINCT [[1, 2],

good first issue feature

Improve this page

Add a description, image, and links to the embedded-database topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the embedded-database topic, visit your repo's landing page and select "manage topics."

Learn more