penberg / limbo

Limbo is a work-in-progress, in-process OLTP database management system, compatible with SQLite.
MIT License
894 stars 49 forks source link

More aggregate functions #93

Closed penberg closed 1 month ago

penberg commented 1 month ago

We have machinery for aggregate functions, but only sum() and avg() are implemented now. Let's add support for rest of the aggregate functions:

https://github.com/penberg/limbo/blob/main/docs/sqlite-compat.md#aggregate-functions

vivek378521 commented 1 month ago

I have raised a PR: https://github.com/penberg/limbo/pull/100 for the aggregate function: count

Please review once. I am also attaching a screenshot of the count fn: Screenshot 2024-07-08 at 1 52 56 PM

mazchew commented 1 month ago

Hi @penberg! I've raised a PR to try and implement the max aggregate function. I'm new to rust and contributing to database systems in general, do let me know if there is anything I can improve on!

image

Thank you!

penberg commented 1 month ago

We now support all aggregate functions. Closing the issue, thanks everyone!