You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/21 15:47:00 UTC

[jira] [Updated] (ARROW-14056) [C++][Doc] Mention ArrayData

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

ASF GitHub Bot updated ARROW-14056:
-----------------------------------
    Labels: pull-request-available  (was: )

> [C++][Doc] Mention ArrayData
> ----------------------------
>
>                 Key: ARROW-14056
>                 URL: https://issues.apache.org/jira/browse/ARROW-14056
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Documentation
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 6.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> See user question at https://lists.apache.org/thread.html/r6930101262ae26400bdcd78fccdf1a62ced1da8ba4b5cb4b028c392a%40%3Cuser.arrow.apache.org%3E
> {quote}I've gone through the documentation but I'm still unclear about the usage of buffers with respect to arrays.
> "A Buffer encapsulates a pointer and data size .... Buffers are untyped: they simply denote a physical memory area"
> "The central type in Arrow is the class arrow::Array. An array represents a known-length sequence of values all having the same type. Internally, those values are represented by one or several buffers ...."
> The Array section then goes on to explain how to build Arrays with the ArrayBuilder base class, and concrete subclasses. There doesn't appear to be any need to allocate buffer space first. There is also a BufferBuilder class. But since there does not appear to be a way associate a created buffer with an array, I don't understand when explicit buffer creation would be used?
> {quote}



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