bdklahn opened a new pull request, #616:
URL: https://github.com/apache/arrow-julia/pull/616
…t8, ...)
When reading compressed Arrow RecordBatches containing Utf8View or
BinaryView columns:
1. build(f::Meta.Field, L::ViewTypes, ...) discarded the decompressed bytes
vector returned by reinterp(ViewElement, ...) and stored batch.bytes in
View.arrow, leaving the unsafe_wrap-backed View.data array unrooted for GC.
2. reinterp(UInt8, ...) wrapped the newly allocated decompressed
Vector{UInt8} in a second non-owning unsafe_wrap Array header, leaving variadic
buffers in View.buffers unrooted when build discarded the first return value.
Return bytes directly from reinterp when compression !== nothing && T ===
UInt8, and store the bytes vector from reinterp(ViewElement, ...) in View.arrow.
--
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]