vinycalves opened a new pull request, #27366: URL: https://github.com/apache/datafusion/pull/27366
Closes #27254. The reverse row group reservation charged each decoded batch's get_array_memory_size, so buffers shared across batches were counted once per batch. This switches the reservation to RecordBatchMemoryTracker, counting a batch when it is retained and uncounting it when it is dropped or popped, and keeps the tracker in sync when a row limit slices a batch. The new tests push cloned batches that share every buffer and check that the pool is charged once and released to zero; the existing exact reverse scan tests still pass, and clippy is clean. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
