[MCOL-5583] The invariant check in RGData::getRow fails producing errors with idbassert Created: 2023-09-29  Updated: 2023-09-30  Resolved: 2023-09-30

Status: Closed
Project: MariaDB ColumnStore
Component/s: PrimProc
Affects Version/s: None
Fix Version/s: 23.10.0

Type: Bug Priority: Major
Reporter: Roman Assignee: Roman
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Problem/Incident
is caused by MCOL-678 support "with rollup" In Testing
Sprint: 2023-11

 Description   

WITH ROLLUP patch added an invariant check that RGData always knows the number of columns and fixed size columns part size.
However the most recent develop build fails the check with the error logged:
```
Sep 29 10:13:33 ip-172-31-24-140 Calpont[407192]: 33.449902 |0|0|0| E 00 CAL0000: /mdb/verylongdirnameforverystrangecpackbehavior/storage/columnstore/columnstore/utils/rowgroup/rowgroup.h@2200: assertion 'columnCount == row->getColumnCount() && rowSize == row->getSize()' failed %%10%%
```
The behavior were observed both with a real workload scenario shared by one of the customers(ask me for the details) and test workload `select count(distinct) from t group by char_11` over a table with 9 000 000 values.


Generated at Thu Feb 08 02:58:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.