Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
Currently, getBufferSizeFor in BaseRepeatedValueVector implemented as below:
if (valueCount == 0) { return 0; } return ((valueCount + 1) * OFFSET_WIDTH) + vector.getBufferSizeFor(valueCount);
Here vector.getBufferSizeFor(valueCount) seems not right which should be
int innerVectorValueCount = offsetBuffer.getInt(valueCount * OFFSET_WIDTH);
vector.getBufferSizeFor(innerVectorValueCount)
ListVector has the same problem.
Attachments
Issue Links
- links to