tustvold commented on issue #1927:
URL: https://github.com/apache/arrow-rs/issues/1927#issuecomment-1164681563

   `InMemoryWriteableCursor` still exists it is just deprecated? You also can 
just use `std::Vec` directly
   
   ```
   fn batch_to_bytes(batch: &RecordBatch) -> Result<Vec<u8>> {
       let mut buffer = Vec::new();
       let mut writer = ArrowWriter::try_new(&mut buffer, batch.schema(), 
None)?;
       writer.write(&batch)?;
       writer.close()?;
       Ok(buffer)
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to