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

Commit

Permalink
Changed to released parquet2
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Feb 2, 2022
1 parent b3f9f10 commit 1c1dd10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ futures = { version = "0.3", optional = true }
ahash = { version = "0.7", optional = true }

# parquet support
#parquet2 = { version = "0.9", optional = true, default_features = false, features = ["stream"] }
parquet2 = { git = "https://github.com/jorgecarleitao/parquet2", branch = "writer", optional = true, default_features = false, features = ["stream"] }
parquet2 = { version = "0.10", optional = true, default_features = false, features = ["stream"] }

# avro support
avro-schema = { version = "0.2", optional = true }
Expand Down
1 change: 1 addition & 0 deletions tests/it/io/parquet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ fn integration_write(schema: &Schema, batches: &[Chunk<Arc<dyn Array>>]) -> Resu

let mut writer = FileWriter::try_new(writer, schema.clone(), options)?;

writer.start()?;
for group in row_groups {
let (group, len) = group?;
writer.write(group, len)?;
Expand Down
1 change: 1 addition & 0 deletions tests/it/io/parquet/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ fn round_trip(
let writer = Cursor::new(vec![]);
let mut writer = FileWriter::try_new(writer, schema, options)?;

writer.start()?;
for group in row_groups {
let (group, len) = group?;
writer.write(group, len)?;
Expand Down

0 comments on commit 1c1dd10

Please sign in to comment.