This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Improve GROUP BY on columns that are sorted #414
Open
Description
We have some cases where data has some notion of order. For example, AFAIK in gitbase repositories, all rows with the same repository_id will be together, so it's possible to output its result as soon as the repository_id changes.
Taking this into account, a lot of aggregations do not need to keep full results in memory.