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

MCOL-641 Refactor initial extent elimination support.

This commit also adds support in TupleHashJoinStep::forwardCPData,
although we currently do not support wide decimals as join keys.

Row estimation to determine large-side of the join is also updated.
This commit is contained in:
Gagan Goel
2020-07-24 19:04:25 -04:00
committed by Roman Nozdrin
parent ca53b6348a
commit d3bc68b02f
32 changed files with 1221 additions and 386 deletions

View File

@ -41,6 +41,7 @@
#include "brmtypes.h"
#include "we_type.h"
#include "dataconvert.h"
#include "widedecimalutils.h"
namespace WriteEngine
{
@ -65,8 +66,8 @@ public:
fMaxVal(LLONG_MIN),
fNewExtent(true)
{
dataconvert::DataConvert::int128Min(fbigMaxVal);
dataconvert::DataConvert::int128Max(fbigMinVal);
utils::int128Min(fbigMaxVal);
utils::int128Max(fbigMinVal);
}
// Used to create entry for an existing extent we are going to add data to.
@ -76,8 +77,8 @@ public:
fMaxVal(LLONG_MIN),
fNewExtent(bIsNewExtent)
{
dataconvert::DataConvert::int128Min(fbigMaxVal);
dataconvert::DataConvert::int128Max(fbigMinVal);
utils::int128Min(fbigMaxVal);
utils::int128Max(fbigMinVal);
}
// Used to create entry for a new extent, with LBID not yet allocated