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
MCOL-4188 Regression fixes for MCOL-641.
1. Add wide decimal support to AggregateColumn::evaluate and TreeNode::getDecimalVal(). 2. Use the pm aggregate attributes to determine um aggregate attributes in TupleAggregateStep::prep2PhasesAggregate.
This commit is contained in:
@@ -3475,11 +3475,11 @@ void TupleAggregateStep::prep2PhasesAggregate(
|
||||
|
||||
if (aggOp == ROWAGG_SUM)
|
||||
{
|
||||
wideDecimalOrLongDouble(colPm, typeProj[colPm],
|
||||
precisionProj, scaleProj, widthAggPm,
|
||||
wideDecimalOrLongDouble(colPm, typeAggPm[colPm],
|
||||
precisionAggPm, scaleAggPm, widthAggPm,
|
||||
typeAggUm, scaleAggUm, precisionAggUm, widthAggUm);
|
||||
|
||||
oidsAggUm.push_back(oidsProj[colPm]);
|
||||
oidsAggUm.push_back(oidsAggPm[colPm]);
|
||||
keysAggUm.push_back(retKey);
|
||||
csNumAggUm.push_back(8);
|
||||
}
|
||||
|
Reference in New Issue
Block a user