Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
ColumnSize inside RecordBatchSizer while computing the totalDataSize for VariableWidthVector throws IndexOutOfBoundException when the underlying vector is empty without any allocated memory.
This happens because the way totalDataSize is computed is using the offsetVector value at an index n where n is total number of records in the vector. When vector is empty then n=0 and offsetVector drillbuf is empty as well. So while retrieving value at index 0 from offsetVector exception is thrown.
Attachments
Issue Links
- links to