AynSiddiqui commented on issue #1557: URL: https://github.com/apache/arrow-go/issues/1557#issuecomment-6881343162
I reproduced this on main (fc5d5ce) with the program from the issue: importing a Map whose keys child has nulls panics in array.MakeFromData, and on the record batch path a checked allocator also reports 512 leaked bytes. I plan to check the entry and key null counts in the C Data Map import before the array is built and return arrow.ErrInvalid, with tests for direct, record batch and stream imports (known and unknown null counts, a nonzero offset) that also count release callbacks. A local prototype already returns the error with no leaks for the direct and record batch cases. -- 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]
