amoeba commented on issue #45283: URL: https://github.com/apache/arrow/issues/45283#issuecomment-2610954388
@h-vetinari: A patch release is being discussed currently [on Zulip](https://ursalabs.zulipchat.com/#narrow/channel/180245-dev/topic/Arrow.2019.2E0.2E1.20release.20-.20is.20it.20necessary.3F) and it looks like the agreement is to do a 19.0.1 to include this fix. And in case it helps anyone, here's a minimal reproduction of Rust code to generate a Parquet file (Py)Arrow 19.0.0 can't read: ```rust // Cargo.toml // // [package] // name = "example" // version = "0.1.0" // edition = "2021" // [dependencies] // arrow = "53.0.0" // parquet = "53.0.0" use std::{fs::File, sync::Arc}; use arrow::array::{ArrayRef, RecordBatch, StringArray}; use parquet::{arrow::ArrowWriter, basic::Compression, file::properties::WriterProperties}; fn main() { let strings = StringArray::from(vec!["a", "b", "c", "d"]); let batch = RecordBatch::try_from_iter(vec![ ("letters", Arc::new(strings) as ArrayRef), ]).unwrap(); let file = File::create("../rust.parquet").expect("Failed to create file."); let props = WriterProperties::builder() .set_compression(Compression::SNAPPY) .build(); let mut writer = ArrowWriter::try_new(file, batch.schema(), Some(props)).unwrap(); writer.write(&batch).expect("Writing batch"); writer.close().unwrap(); } ``` -- 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]
