Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Dec 26, 2021
1 parent e57f1f5 commit b6c7ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/io/ipc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
//! let y_coord = Field::new("y", DataType::Int32, false);
//! let schema = Schema::new(vec![x_coord, y_coord]);
//! let options = WriteOptions {compression: None};
//! let mut writer = FileWriter::try_new(file, &schema, options)?;
//! let mut writer = FileWriter::try_new(file, &schema, None, options)?;
//!
//! // Setup the data
//! let x_data = Int32Array::from_slice([-1i32, 1]);
Expand All @@ -56,7 +56,7 @@
//!
//! // Write the messages and finalize the stream
//! for _ in 0..5 {
//! writer.write(&batch);
//! writer.write(&batch, None);
//! }
//! writer.finish();
//!
Expand Down

0 comments on commit b6c7ba8

Please sign in to comment.