You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
1. Fix for group_concat(distinct ... ) to use all unique values in a row.
2. Explicitly set array bounds for Row::hash() and Row::equals().
This commit is contained in:
@@ -760,7 +760,7 @@ void GroupConcatOrderBy::initialize(const rowgroup::SP_GroupConcat& gcc)
|
||||
uint64_t GroupConcatOrderBy::getKeyLength() const
|
||||
{
|
||||
// only distinct the concatenated columns
|
||||
return fConcatColumns.size() - 1; // cols 0 to fConcatColumns will be conpared
|
||||
return fConcatColumns.size(); // cols 0 to fConcatColumns.size() - 1 will be compared
|
||||
}
|
||||
|
||||
|
||||
|
@@ -91,7 +91,7 @@ void LimitedOrderBy::initialize(const RowGroup& rg, const JobInfo& jobInfo)
|
||||
// not just a column count.
|
||||
uint64_t LimitedOrderBy::getKeyLength() const
|
||||
{
|
||||
return fOrderByCond.size();
|
||||
return fRow0.getColumnCount();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user