You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-641 1. Templatized convertValueNum() function.
2. Allocate int128_t buffers in batchprimitiveprocessor if a query involves wide decimal columns.
This commit is contained in:
committed by
Roman Nozdrin
parent
9b714274db
commit
62d0c82d75
@ -28,6 +28,7 @@
|
||||
#include "brm.h"
|
||||
#include "brmtypes.h"
|
||||
#include "dataconvert.h"
|
||||
#include "columnwidth.h"
|
||||
|
||||
#define IS_VERBOSE (fDebug >= 4)
|
||||
#define IS_DETAIL (fDebug >= 3)
|
||||
@ -808,7 +809,12 @@ bool LBIDList::CasualPartitionPredicate(const BRM::EMCasualPartition_t& cpRange,
|
||||
|
||||
// Should we also check for empty here?
|
||||
// TODO MCOL-641
|
||||
if (isNull(value, ct)) // This will work even if the data column is unsigned.
|
||||
if (utils::isWideDecimalType(ct))
|
||||
{
|
||||
if (isNull(bigValue, ct))
|
||||
continue;
|
||||
}
|
||||
else if (isNull(value, ct)) // This will work even if the data column is unsigned.
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user