-
I create a simple query like below:
```
var query = session.Query()
.GroupBy(x => x.ProductId)
.Select(g => new { ProductId = g.Key, MinPrice = g.Min(p => p.Price) })
.OrderBy(o => …
-
### Describe the bug
```sql
create function mycount(x int[]) returns bigint language sql as 'select count(*) from unnest(x)';
select mycount('{1,2}');
┌─────────┐
│ mycount │
├─────────┤
│ …
-
### Is your feature request related to a problem or challenge?
In aggregate query with order-by: order-by list should support expressions with `group by` columns, or aggregated `aggregate` columns, t…
-
### What type of bug is this?
Crash
### What subsystems and features are affected?
Background worker
### What happened?
job crash detected, see server logs but there was no information in the Pos…
-
There is a bug in `compute_ps` and `aggregate_ps`, will provide a reproducible example when possible. Need to fix bug and update tests to include tests for the 2 functions.
-
`count_if()` is documented here:
https://duckdb.org/docs/sql/functions/utility#count_ifx
when we try it, a basic example suggests it's actually an aggergate function:
```
select count_if(x) …
-
### Summary
Supporting user-defined aggregate functions
### Additional context
I have a custom type and a user-defined aggregate function that works on that type.
```
CREATE TYPE …
-
### Bug Description
When using `GROUP BY` on a `NON NULL` column, said column becomes an `Option` in combination with the `MIN()` and `MAX()` aggregate functions.
Also `MIN()`, `MAX()`, `SUM()`, and…
-
Currently, driver does not fetch nor store User Defined Functions, User Defined Aggregates nor indexes definitions (from `system_schema.[functions, aggregates, indexes]`, correspondingly).
cpp-driv…
-
### Describe the bug, including details regarding any error messages, version, and platform.
Grouping on empty keys aggregates against the whole table (relates to #14896). But there are 3 hash aggre…
coady updated
2 months ago