ianmcook commented on PR #29:
URL: https://github.com/apache/arrow-experiments/pull/29#issuecomment-2083083966

   Oops, please disregard my message above about the schema. I was writing the 
file incorrectly.
   
   I had added `Arrow.write("output.arrow", batches)` inside `get_batches()`. 
That caused the extra level of nesting to be added.
   
   The right way to do it is like this:
   ```jl
   open(Arrow.Writer, "output.arrow") do writer
     for batch in stream
       Arrow.write(writer, batch)
     end
   end
   ```
   When I do it that way, the nesting problem goes away.
   


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