mdepero opened a new pull request, #13277: URL: https://github.com/apache/arrow/pull/13277
Boolean columns still have an issue when skipping a large number of rows, due to the buffer passed for `values` not being large enough. If batch size to skip is 1024, the buffer allocated for values when skipping a boolean column is only 128, resulting in an index out of bounds panic. This PR assumes the buffer passed for `values` when skipping a boolean column contains 1 byte per 8 bool values, and explicitly creates a bool slice with `len(buf)*8` capacity. -- 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]
