Weston Pace created ARROW-14355:
-----------------------------------

             Summary: [C++] Create naive implementation of algorithm to 
estimate table/batch buffer size
                 Key: ARROW-14355
                 URL: https://issues.apache.org/jira/browse/ARROW-14355
             Project: Apache Arrow
          Issue Type: Sub-task
          Components: C++
            Reporter: Weston Pace


This will simply sum up all of the buffers.  It will overestimate in a few 
cases:

 * If there are offsets it will overestimate
 * If there are shared buffers it will overestimate

It only measures the size of the buffers and will not consider the control data 
(e.g. the C objects wrapping the data) or, specifically for ExecBatch, it will 
not count scalars.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to