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-4236 DATE is still returned as INT
This commit is contained in:
@ -143,7 +143,12 @@ int64_t Func_ceil::getIntVal(Row& row,
|
||||
|
||||
case CalpontSystemCatalog::DATE:
|
||||
{
|
||||
ret = parm[0]->data()->getDateIntVal(row, isNull);
|
||||
// For some reason, MDB doesn't return this as a date,
|
||||
// but datetime is returned as a datetime. Expect
|
||||
// this to change in the future.
|
||||
Date d (parm[0]->data()->getDateIntVal(row, isNull));
|
||||
if (!isNull)
|
||||
ret = d.convertToMySQLint();
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user