You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-265 Add support for TIMESTAMP data type
This commit is contained in:
@ -140,6 +140,30 @@ int64_t Func_coalesce::getDatetimeIntVal(rowgroup::Row& row,
|
||||
return val;
|
||||
}
|
||||
|
||||
int64_t Func_coalesce::getTimestampIntVal(rowgroup::Row& row,
|
||||
FunctionParm& parm,
|
||||
bool& isNull,
|
||||
CalpontSystemCatalog::ColType& ct)
|
||||
{
|
||||
int64_t val = 0;
|
||||
|
||||
for (uint32_t i = 0; i < parm.size(); i++)
|
||||
{
|
||||
val = parm[i]->data()->getTimestampIntVal(row, isNull);
|
||||
|
||||
if (isNull)
|
||||
{
|
||||
isNull = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
return val;
|
||||
}
|
||||
|
||||
isNull = true;
|
||||
return val;
|
||||
}
|
||||
|
||||
int64_t Func_coalesce::getTimeIntVal(rowgroup::Row& row,
|
||||
FunctionParm& parm,
|
||||
bool& isNull,
|
||||
|
Reference in New Issue
Block a user