Skip to content
#

embedded-database

Here are 130 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
clover
ostafen
ostafen commented May 9, 2022

Hi, all. Currently, clover allows to access nested document fields by the following syntax:

doc.Get("field1.field2.field3")

Now, suppose that field2 is a slice. It would be useful to support indexing elements by the following syntax:

doc.Get("field1.field2.4.field3") // here, we are trying to access the fifth element of "field2"
enhancement good first issue

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