1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Add support for DateTime data type in ROUND()

This commit is contained in:
Gagan Goel
2019-09-06 21:47:24 -04:00
parent b658080f06
commit c766620d22
2 changed files with 14 additions and 0 deletions

View File

@ -628,5 +628,14 @@ string Func_round::getStrVal(Row& row,
}
int64_t Func_round::getDatetimeIntVal(Row& row,
FunctionParm& parm,
bool& isNull,
CalpontSystemCatalog::ColType& op_ct)
{
return parm[0]->data()->getIntVal(row, isNull);
}
} // namespace funcexp
// vim:ts=4 sw=4: