Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeee committed Aug 5, 2024
1 parent 203f25a commit 3edfee4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/core/src/utils/row_encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@ impl RowEncoder for JsonRowEncoder {
return Ok(vec![]);
}

// BufWriter uses a buffer size of 8KB
// We therefore double this and flush once we have more than 8KB
let mut buffer = Vec::with_capacity(batch.num_rows());

for i in 0..batch.num_rows() {
let row = batch.slice(i, 1);
buffer.push(self.batch_to_json(&row)?);
Expand Down

0 comments on commit 3edfee4

Please sign in to comment.