Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
ArrowStreamWriter inherits from ArrowWriter the behavior of accumulating an ArrowBlock for each ArrowRecordBatch that is written. But this data is never used in the context of ArrowStreamWriter.
public abstract class ArrowWriter implements AutoCloseable { private final List<ArrowBlock> recordBlocks = new ArrayList<>(); ... protected void writeRecordBatch(ArrowRecordBatch batch) { ... recordBlocks.add(block); } }
writeRecordBatch can be overridden in ArrowStreamWriter to avoid adding the memory overhead.
Attachments
Issue Links
- relates to
-
ARROW-2645 [Java] ArrowStreamWriter accumulates DictionaryBatch ArrowBlocks
- Resolved
- links to