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 This commit introduces templates for DataConvert and RowGroup methods.
This commit is contained in:
@ -625,6 +625,12 @@ void SimpleColumn::evaluate(Row& row, bool& isNull)
|
||||
{
|
||||
switch (fResultType.colWidth)
|
||||
{
|
||||
case 16:
|
||||
{
|
||||
fResult.decimalVal.value = row.getIntField<16>(fInputIndex);
|
||||
fResult.decimalVal.scale = (unsigned)fResultType.scale;
|
||||
break;
|
||||
}
|
||||
case 1:
|
||||
{
|
||||
fResult.decimalVal.value = row.getIntField<1>(fInputIndex);
|
||||
|
Reference in New Issue
Block a user