The Wayback Machine - https://web.archive.org/web/20220225092357/https://github.com/topics/embedded-database
Skip to content
#

embedded-database

Here are 127 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],

skyzh
skyzh commented Feb 20, 2022
> explain select 1
PhysicalProjection:
    1
  Dummy:

Currently, we are using Projection executor for select 1, which requires DummyExecutor to return one tuple. This is causing problems for many cases. For example,

> explain select count(*) from t1 where 0=1
PhysicalProjection:
    InputRef #0
  PhysicalSimpleAgg:
      count(InputRef #0) -> INT
    Dummy:
> sele

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