Uinelj opened a new issue, #1745:
URL: https://github.com/apache/arrow-rs/issues/1745

   **Which part is this question about**
   Documentation and examples about writing Parquet files using the 
`ColumnReader` API.
   
   **Describe your question**
   I'd like to know if there's a clear reason on the absence of examples 
regarding writing Parquet files using the `ColumnReader` API, and if not, I'd 
be glad to provide such examples. 
   
   **Additional context**
   
   When looking for info about how to write Parquet files, the first place we 
end up is the 
[`parquet::file`](https://docs.rs/parquet/latest/parquet/file/index.html) page 
on docs.rs, where sample code omits the part where the actual write is done : 
   
   ```rs
   // ...
   while let Some(mut col_writer) = row_group_writer.next_column().unwrap() {
       // ... write values to a column writer
       row_group_writer.close_column(col_writer).unwrap();
   }
   // ...
   ```
   
   While Parquet writing is obviously more complex than other, row-oriented 
formats and the API is relatively low-level, more documentation and especially 
examples with both simple and simply nested structures would benefit people, 
imho.
   


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