Commits


Nicolas Moreau authored and Matthew Topol committed 667d427d8ef
ARROW-16163: [Go] IPC FileReader leaks memory when used with ZSTD compression When used in its stream version (calling .Read()), the ZSTD decoder makes use of a Goroutine with a channel to receive input. This channel is closed by the decoder's .Close() function, which ends the Goroutine and therefore the collection of its memory by the GC. Here, we add Close() to the exposed decompressor interface and call its close at the end of the function that uses it. Closes #12857 from cptjacky/ARROW-16163 Authored-by: Nicolas Moreau <nicolas.moreau@botify.com> Signed-off-by: Matthew Topol <mtopol@factset.com>