hesampakdaman commented on issue #5804:
URL: https://github.com/apache/arrow-rs/issues/5804#issuecomment-2136176772

   Is this due to `arrow_to_parquet_schema` which always sets the group name to 
"arrow_schema"? It's used by the writer in `parquet-fromcsv`. 
   
   ```rust
   /// Convert arrow schema to parquet schema
   pub fn arrow_to_parquet_schema(schema: &Schema) -> Result<SchemaDescriptor> {
       let fields = schema
           .fields()
           .iter()
           .map(|field| arrow_to_parquet_type(field).map(Arc::new))
           .collect::<Result<_>>()?;
       let group = Type::group_type_builder("arrow_schema")
           .with_fields(fields)
           .build()?;
       Ok(SchemaDescriptor::new(Arc::new(group)))
   }
   ```
   If this is the case, is it a viable solution to just add metadata from 
`arrow_schema_from_string` in `parquet-fromcsv`? 


-- 
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]

Reply via email to