Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
Description
Rust csv::Reader doesn't propagate schema metadata to RecordBatches it creates:
let reader = csv::ReaderBuilder::new() .with_schema(Arc::new(Schema::new_with_metadata(fields, metadata))) .build(file) .unwrap(); let batch = reader.next().unwrap().unwrap(); assert_eq!(reader.schema(), batch.schema());
The parquet writer crate complains about the schema non matching with this error:
Record batch schema does not match writer schema
Attachments
Issue Links
- links to