[ 
https://issues.apache.org/jira/browse/ARROW-15065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17459006#comment-17459006
 ] 

Weston Pace commented on ARROW-15065:
-------------------------------------

Per ARROW-15053 it seems that the preferred behavior might actually be to 
replace "nbytes" with the ReferencedBufferSize value and make a new method for 
the existing value.

[~jorisvandenbossche] Does this seem correct?  This would be a 
backwards-incompatible change.

> [Python][R] Expose ReferencedBufferSize to python/R
> ---------------------------------------------------
>
>                 Key: ARROW-15065
>                 URL: https://issues.apache.org/jira/browse/ARROW-15065
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python, R
>            Reporter: Weston Pace
>            Priority: Major
>              Labels: good-first-issue
>
> This could be a method on arrays, chunked arrays, record batches, and tables. 
>  This method takes array offsets into account.
> We should probably add this alongside the existing nbytes field with clear 
> commenting about the difference between the two of them.  Both can be useful 
> depending on the need.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to