1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-712 Support TEXT for GROUP BY

Add missing support
This commit is contained in:
Andrew Hutchings
2017-05-11 10:32:29 +01:00
parent 85a5eaac31
commit 83331f4fa7
2 changed files with 13 additions and 0 deletions

View File

@ -307,6 +307,7 @@ void AggregateColumn::evaluate(Row& row, bool& isNull)
case CalpontSystemCatalog::CHAR:
case CalpontSystemCatalog::VARCHAR:
case CalpontSystemCatalog::STRINT:
case CalpontSystemCatalog::TEXT:
switch (row.getColumnWidth(fInputIndex))
{
case 1:
@ -461,6 +462,7 @@ void AggregateColumn::evaluate(Row& row, bool& isNull)
}
break;
case CalpontSystemCatalog::VARBINARY:
case CalpontSystemCatalog::BLOB:
isNull = true;
break;
default: // treat as int64