You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
feat(primproc,aggregegation)!: Changes for ROLLUP with single-phase aggregation (#3025)
The fix is simple: enable subtotals in single-phase aggregation and disable parallel processing when there are subtotals and aggregation is single-phase.
This commit is contained in:
@ -42,7 +42,7 @@ int64_t encodeStringPrefix(const uint8_t* str, size_t len, datatypes::Charset& c
|
||||
|
||||
int64_t encodeStringPrefix_check_null(const uint8_t* str, size_t len, datatypes::Charset& cset)
|
||||
{
|
||||
if (len < 1 && str == nullptr)
|
||||
if (len < 1)
|
||||
{
|
||||
return joblist::UBIGINTNULL;
|
||||
}
|
||||
|
@ -425,6 +425,8 @@ class RowAggregation : public messageqcpp::Serializeable
|
||||
|
||||
void clearRollup() { fRollupFlag = false; }
|
||||
|
||||
bool hasRollup() const { return fRollupFlag; }
|
||||
|
||||
/** @brief Define content of data to be joined
|
||||
*
|
||||
* This method must be call after setInputOutput() for PM hashjoin case.
|
||||
|
Reference in New Issue
Block a user