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

Commit

Permalink
Encoding fixed for parquet write
Browse files Browse the repository at this point in the history
  • Loading branch information
rajasekarv authored Jul 30, 2022
1 parent 8604cb7 commit 192ca8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/parquet_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fn write_chunk(path: &str, schema: Schema, chunk: Chunk<Box<dyn Array>>) -> Resu
let encodings = schema
.fields
.iter()
.map(|f| transverse(&f.data_type, |_| Encoding::RleDictionary))
.map(|f| transverse(&f.data_type, |_| Encoding::Plain))
.collect();

let row_groups = RowGroupIterator::try_new(iter.into_iter(), &schema, options, encodings)?;
Expand Down

0 comments on commit 192ca8f

Please sign in to comment.