Hi Robert, I hit the same problem recently but there’s a Python-only workaround you can use.
https://github.com/apache/arrow-experiments/pull/35/files#r1797397257 — Felipe On Fri, 11 Oct 2024 at 05:13 Antoine Pitrou <[email protected]> wrote: > > Hi Robert, > > On Thu, 10 Oct 2024 08:33:28 -0700 > Robert McLeod <[email protected]> wrote: > > > > I think my trouble is coming from the fact that a > `CompressedOutputStream` > > closes the `BufferedOutputStream` when it exits its context manager. I > > don't know if that is required or if it is simply an oversight because no > > one else has tried to fetch individual objects from a compressed stream > > before. > > It's not really required. We could change this if not closing the > underlying stream is more convenient. > > Could you perhaps open a feature request at > https://github.com/apache/arrow/issues ? > > (bonus points if you also submit a PR, but that's not mandatory :-)) > > Regards > > Antoine. > > >
