limbo/core/vdbe
Pekka Enberg e102cd0be5 Merge 'Add support for DISTINCT aggregate functions' from Jussi Saurio
Reviewable commit by commit. CI failures are not related.
Adds support for e.g. `select first_name, sum(distinct age),
count(distinct age), avg(distinct age) from users group by 1`
Implementation details:
- Creates an ephemeral index per distinct aggregate, and jumps over the
accumulation step if a duplicate is found

Closes #1507
2025-05-20 13:58:57 +03:00
..
builder.rs Merge 'Add support for DISTINCT aggregate functions' from Jussi Saurio 2025-05-20 13:58:57 +03:00
execute.rs Merge 'Add support for DISTINCT aggregate functions' from Jussi Saurio 2025-05-20 13:58:57 +03:00
explain.rs Merge 'Add support for DISTINCT aggregate functions' from Jussi Saurio 2025-05-20 13:58:57 +03:00
insn.rs Merge 'Add support for DISTINCT aggregate functions' from Jussi Saurio 2025-05-20 13:58:57 +03:00
likeop.rs Rename OwnedValue -> Value 2025-05-15 09:59:46 +03:00
mod.rs Rename OwnedValue -> Value 2025-05-15 09:59:46 +03:00
sorter.rs refactor BtreeCursor and Sorter to accept Vec of collations 2025-05-19 15:22:55 -03:00