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-1822 Intermediate checkin. DISTINCT not working.
This commit is contained in:
@ -317,6 +317,10 @@ void PredicateOperator::setOpType(Type& l, Type& r)
|
||||
fOperationType.colWidth = 8;
|
||||
break;
|
||||
|
||||
case execplan::CalpontSystemCatalog::LONGDOUBLE:
|
||||
fOperationType.colDataType = execplan::CalpontSystemCatalog::LONGDOUBLE;
|
||||
fOperationType.colWidth = 16;
|
||||
break;
|
||||
default:
|
||||
fOperationType.colDataType = execplan::CalpontSystemCatalog::DOUBLE;
|
||||
fOperationType.colWidth = 8;
|
||||
@ -370,6 +374,12 @@ void PredicateOperator::setOpType(Type& l, Type& r)
|
||||
fOperationType.colWidth = 255;
|
||||
}
|
||||
}
|
||||
else if (l.colDataType == execplan::CalpontSystemCatalog::LONGDOUBLE ||
|
||||
r.colDataType == execplan::CalpontSystemCatalog::LONGDOUBLE)
|
||||
{
|
||||
fOperationType.colDataType = execplan::CalpontSystemCatalog::LONGDOUBLE;
|
||||
fOperationType.colWidth = 16;
|
||||
}
|
||||
else
|
||||
{
|
||||
fOperationType.colDataType = execplan::CalpontSystemCatalog::DOUBLE;
|
||||
|
Reference in New Issue
Block a user