Skip to content

Commit

Permalink
Minor comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefffrey committed Aug 25, 2024
1 parent e4d4630 commit ca93754
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/arrow_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ impl<W: Write> ArrowWriter<W> {
let batch = batch.slice(offset, length);
self.writer.encode_batch(&batch)?;

// TODO: be able to flush whilst writing a batch (instead of between batches)
// Flush stripe when it exceeds estimated configured size
if self.writer.estimate_memory_size() > self.stripe_byte_size {
self.flush_stripe()?;
Expand Down

0 comments on commit ca93754

Please sign in to comment.