yjshen opened a new pull request, #9481:
URL: https://github.com/apache/arrow-datafusion/pull/9481

   ## Which issue does this PR close?
   
   Closes #9417.
   
   ## Rationale for this change
   
   `ArrayData::get_slice_memory_size` serves our requirements for memory 
management better.
   
   ## What changes are included in this PR?
   
   Introduce an `EffectiveSize` trait in `common::utils`, and substitute 
`batch.get_array_memory_size()` usages with `batch.get_effective_memory_size()` 
for codes related to memory management.
   
   ## Are these changes tested?
   
   Existing tests and also the case noted in the issue.
   
   ## Are there any user-facing changes?
   
   No.
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->
   


-- 
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]

Reply via email to