You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-641 Add support for functions (Part 1).
This commit is contained in:
committed by
Roman Nozdrin
parent
554c6da8e8
commit
cfe35b5c7f
@ -197,7 +197,11 @@ execplan::IDB_Decimal Func_monthname::getDecimalVal(rowgroup::Row& row,
|
||||
execplan::CalpontSystemCatalog::ColType& op_ct)
|
||||
{
|
||||
IDB_Decimal d;
|
||||
d.value = getIntVal(row, fp, isNull, op_ct);
|
||||
|
||||
if (fp[0]->data()->resultType().colWidth == datatypes::MAXDECIMALWIDTH)
|
||||
d.s128Value = getIntVal(row, fp, isNull, op_ct);
|
||||
else
|
||||
d.value = getIntVal(row, fp, isNull, op_ct);
|
||||
d.scale = 0;
|
||||
return d;
|
||||
}
|
||||
|
Reference in New Issue
Block a user