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
chore(cpimport): MCOL-6033 Change batch max size (#3652)
This commit is contained in:
@ -100,6 +100,8 @@ using DBRootVec = std::vector<DBRootT>;
|
||||
// assumed column width when calculating dictionary store extent size
|
||||
#define DICT_COL_WIDTH 8
|
||||
|
||||
static const uint32_t MAX_EXTENT_SIZE = 8000000;
|
||||
|
||||
// valid values for EMEntry.status
|
||||
const int16_t EXTENTSTATUSMIN(0); // equal to minimum valid status value
|
||||
const int16_t EXTENTAVAILABLE(0);
|
||||
|
@ -733,7 +733,7 @@ void WECmdArgs::parseCmdLineArgs(int argc, char** argv)
|
||||
}
|
||||
else if (fBatchQty > 100000)
|
||||
{
|
||||
fBatchQty = 10000;
|
||||
fBatchQty = min(static_cast<uint32_t>(fBatchQty), BRM::MAX_EXTENT_SIZE);
|
||||
}
|
||||
}
|
||||
if (vm.count("max-errors"))
|
||||
|
Reference in New Issue
Block a user