Skip to content
#

olap

Here are 188 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
xmnlab
xmnlab commented Mar 19, 2019

Hey everyone!

mapd-core-cpu is already available on conda-forge (https://anaconda.org/conda-forge/omniscidb-cpu)

now we should add some instructions on the documentation.

at this moment it is available for linux and osx.

some additional information about the configuration:

  1. for now, always install omniscidb-cpu inside a conda environment (also it is a good practice), eg:
andygrove
andygrove commented May 10, 2022

Describe the bug
We have a hard-coded distinct = false parameter in ballista/rust/core/src/serde/physical_plan/mod.rs.

Ok(create_aggregate_expr(
    &aggr_function.into(),
    false, // <-- hard-coded "distinct"
    input_phy_expr.as_slice(),
    &physical_schema,
    name.to_string(),
)?)

To Reproduce
Try running a COUNT(DISTINCT expr) in Ballista

**E

bug good first issue ballista
dengn
dengn commented May 3, 2022

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

Showcase SQL requires support of this function.


SELECT c.workorder_no,d.nuc_id, e.station_name,a.action_time, a.action_detail,
	CASE
				WHEN FIND_IN_SET('U360CEN', SUBSTRING( d.nuc_id, 1, 7 ) ) THEN 'UCL360C'
				WHE
good first issue kind/feature MatrixCamp Moderate

Improve this page

Add a description, image, and links to the olap 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 olap topic, visit your repo's landing page and select "manage topics."

Learn more