1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-392 Add initial TIME datatype support

This commit is contained in:
Andrew Hutchings
2018-04-23 19:20:31 +01:00
parent b584a7f555
commit 3c1ebd8b94
109 changed files with 2241 additions and 47 deletions

View File

@ -101,7 +101,9 @@ CalpontSystemCatalog::ColType MCS_add::operationType (FunctionParm& fp,
else if (fp[0]->data()->resultType().colDataType == CalpontSystemCatalog::DATE ||
fp[1]->data()->resultType().colDataType == CalpontSystemCatalog::DATE ||
fp[0]->data()->resultType().colDataType == CalpontSystemCatalog::DATETIME ||
fp[1]->data()->resultType().colDataType == CalpontSystemCatalog::DATETIME)
fp[1]->data()->resultType().colDataType == CalpontSystemCatalog::DATETIME ||
fp[0]->data()->resultType().colDataType == CalpontSystemCatalog::TIME ||
fp[1]->data()->resultType().colDataType == CalpontSystemCatalog::TIME)
{
rt.colDataType = CalpontSystemCatalog::BIGINT;
rt.colWidth = 8;