pitrou commented on code in PR #49489:
URL: https://github.com/apache/arrow/pull/49489#discussion_r2995035570


##########
docs/source/cpp/api/array.rst:
##########
@@ -116,6 +116,17 @@ Chunked Arrays
    :project: arrow_cpp
    :members:
 
+Non-owning data class
+=====================
+
+.. warning::
+   As this class doesn't keep alive the objects and data it points to, their

Review Comment:
   To be clear, this comment is about `ArraySpan`. I think in general people 
should err on the safe side and use `ArrayData` rather than `ArraySpan`; the 
latter is really for the cases where the `ArrayData` overhead would be too 
much, and lifetime is clearly understood.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to