You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
Reapply "fix(aggregation, disk-based) MCOL-5691 distinct aggregate disk based (#3145)"
This reverts commit a5c12b98d7
.
This commit is contained in:
committed by
drrtuy
parent
5e5d328269
commit
e0a01c6cf4
@ -681,6 +681,17 @@ class RowAggregationUM : public RowAggregation
|
||||
*/
|
||||
bool nextRowGroup();
|
||||
|
||||
/** @brief Returns aggregated rows in a RowGroup as long as there are still not returned result RowGroups.
|
||||
*
|
||||
* This function should be called repeatedly until false is returned (meaning end of data).
|
||||
* Returns data from in-memory storage, as well as spilled data from disk. If disk-based aggregation is
|
||||
* happening, finalAggregation() should be called before returning result RowGroups to finalize the used
|
||||
* RowAggStorages, merge different spilled generations and obtain correct aggregation results.
|
||||
*
|
||||
* @returns True if there are more result RowGroups, else false if all results have been returned.
|
||||
*/
|
||||
bool nextOutputRowGroup();
|
||||
|
||||
/** @brief Add an aggregator for DISTINCT aggregation
|
||||
*/
|
||||
void distinctAggregator(const boost::shared_ptr<RowAggregation>& da)
|
||||
|
Reference in New Issue
Block a user