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-1510 GROUP BY supports aggregates as arguments in numerical functions.
This commit is contained in:
@@ -3412,6 +3412,13 @@ ReturnedColumn* buildFunctionColumn(
|
||||
|
||||
ReturnedColumn* rc = buildReturnedColumn(ifp->arguments()[i], gwi, nonSupport);
|
||||
|
||||
// MCOL-1510 It must be a temp table field, so find the corresponding column.
|
||||
if (pushdownHand
|
||||
&& ifp->arguments()[i]->type() == Item::REF_ITEM)
|
||||
{
|
||||
rc = findCorrespTempField(static_cast<Item_ref*>(ifp->arguments()[i]), gwi);
|
||||
}
|
||||
|
||||
if (!rc || nonSupport)
|
||||
{
|
||||
nonSupport = true;
|
||||
|
Reference in New Issue
Block a user