You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/11/03 10:36:00 UTC
[jira] [Resolved] (ARROW-14355) [C++] Create naive implementation
of algorithm to estimate table/batch buffer size
[ https://issues.apache.org/jira/browse/ARROW-14355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weston Pace resolved ARROW-14355.
---------------------------------
Fix Version/s: 7.0.0
Resolution: Fixed
Issue resolved by pull request 11441
[https://github.com/apache/arrow/pull/11441]
> [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
> Assignee: Weston Pace
> Priority: Major
> Labels: pull-request-available
> Fix For: 7.0.0
>
> Time Spent: 3h
> Remaining Estimate: 0h
>
> 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)