eest commented on issue #37807:
URL: https://github.com/apache/arrow/issues/37807#issuecomment-1749492745

   I found this issue trying to figure out how to write out a parquet file 
based on a go struct as well. In my case I already have some data in a arrow 
data structure which I have been able to write out via the `pqarrow` package, 
but then I had a need to also write out some other data where I am not using 
arrow data structures for the storage. Given the separation between the 
`pqarrow`  convenience package and the more general `file` package I was not 
sure if the latter aims to be a "general" parquet writer for use even if arrow 
is not used for the input data.
   
   As a comparison the https://github.com/xitongsys/parquet-go package allows 
you to basically do:
   ```
   pw, err := writer.NewParquetWriterFromWriter(..., new(myStruct), ...)
   pw.Write(myStructInstance)
   ```
   I was trying to see if there was something like that present in `file` but 
was not able to find it. Of course it would make sense if what I was looking 
for is out of scope for this project and I should just use another package for 
that, like the one above.


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