[ 
https://issues.apache.org/jira/browse/ARROW-14356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weston Pace updated ARROW-14356:
--------------------------------
    Description: 
It is difficult to calculate the size (in bytes) of an array that has offsets 
because offsets are "# of values" there is no type-erased way to known how many 
bytes each value occupies.


  was:
It is difficult to calculate the size (in bytes) of an array that has offsets 
because offsets are "# of values" there is no type-erased way to known how many 
bytes each value occupies.

This could be handled somewhat manually with a visitor.

        Summary: [C++] Create kernel to determine buffer memory "referenced" by 
arrays (even if there are offsets)  (was: [C++] Improve array size estimation 
to account for offsets)

> [C++] Create kernel to determine buffer memory "referenced" by arrays (even 
> if there are offsets)
> -------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-14356
>                 URL: https://issues.apache.org/jira/browse/ARROW-14356
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: C++
>            Reporter: Weston Pace
>            Priority: Major
>
> It is difficult to calculate the size (in bytes) of an array that has offsets 
> because offsets are "# of values" there is no type-erased way to known how 
> many bytes each value occupies.



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

Reply via email to