You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
fix(aggregation): fix dumping RGDatas to disk
`amount` parameter of `RGData::serialize` is the raw size of `rowData` buffer without StringStore/UserDataStore/etc
This commit is contained in:
committed by
Alexey Antipovsky
parent
c618fa284d
commit
aa5f4fc5e7
@ -1361,7 +1361,7 @@ class RowGroupStorage
|
||||
{
|
||||
messageqcpp::ByteStream bs;
|
||||
fRowGroupOut->setData(rgdata);
|
||||
rgdata->serialize(bs, fRowGroupOut->getSizeWithStrings());
|
||||
rgdata->serialize(bs, fRowGroupOut->getDataSize());
|
||||
|
||||
int errNo;
|
||||
if ((errNo = fDumper->write(makeRGFilename(rgid), (char*)bs.buf(), bs.length())) != 0)
|
||||
|
Reference in New Issue
Block a user