You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-08 14:22:09 +03:00
MCOL-1822 Intermediate checkin. DISTINCT not working.
This commit is contained in:
@@ -203,6 +203,27 @@ inline bool getBoolForIn(rowgroup::Row& row,
|
||||
return false;
|
||||
}
|
||||
|
||||
case execplan::CalpontSystemCatalog::LONGDOUBLE:
|
||||
{
|
||||
long double val = pm[0]->data()->getLongDoubleVal(row, isNull);
|
||||
|
||||
if (isNull)
|
||||
return false;
|
||||
|
||||
for (uint32_t i = 1; i < pm.size(); i++)
|
||||
{
|
||||
isNull = false;
|
||||
|
||||
if ( val == pm[i]->data()->getLongDoubleVal(row, isNull) && !isNull )
|
||||
return true;
|
||||
|
||||
if (isNull && isNotIn)
|
||||
return true; // will be reversed to false by the caller
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
case execplan::CalpontSystemCatalog::DECIMAL:
|
||||
case execplan::CalpontSystemCatalog::UDECIMAL:
|
||||
{
|
||||
|
Reference in New Issue
Block a user