viirya commented on code in PR #3529: URL: https://github.com/apache/arrow-rs/pull/3529#discussion_r1070362767
########## arrow-data/src/data.rs: ########## @@ -245,18 +245,58 @@ pub(crate) fn into_buffers( /// An generic representation of Arrow array data which encapsulates common attributes and /// operations for Arrow array. Specific operations for different arrays types (e.g., /// primitive, list, struct) are implemented in `Array`. +/// +/// # Memory Layout +/// +/// `ArrayData` has references to one or more underlying data buffers +/// and optional child ArrayDatas, depending on type as illustrated +/// below. Bitmaps are not shown for similicity but they are stored +/// similiarly to the buffers. Review Comment: ```suggestion /// `ArrayData` has references to one or more underlying data buffers /// and optional child ArrayDatas, depending on type as illustrated /// below. Bitmaps are not shown for simplicity but they are stored /// similarly to the buffers. ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org