You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
MCOL-641 Add support for functions (Part 2).
This commit is contained in:
committed by
Roman Nozdrin
parent
bd0d5af123
commit
6aea838360
@@ -199,6 +199,7 @@ string Func_timediff::getStrVal(rowgroup::Row& row,
|
||||
break;
|
||||
|
||||
case execplan::CalpontSystemCatalog::DECIMAL:
|
||||
case execplan::CalpontSystemCatalog::UDECIMAL:
|
||||
if (parm[0]->data()->resultType().scale != 0)
|
||||
{
|
||||
isNull = true;
|
||||
@@ -285,6 +286,7 @@ string Func_timediff::getStrVal(rowgroup::Row& row,
|
||||
break;
|
||||
|
||||
case execplan::CalpontSystemCatalog::DECIMAL:
|
||||
case execplan::CalpontSystemCatalog::UDECIMAL:
|
||||
if (parm[1]->data()->resultType().scale != 0)
|
||||
{
|
||||
isNull = true;
|
||||
|
||||
Reference in New Issue
Block a user