HaoYang670 commented on issue #1640:
URL: https://github.com/apache/arrow-rs/issues/1640#issuecomment-1117200167

   Thank you very much for your explanation, @tustvold ! I have seen some code 
which `buffers()` is the best choice:
   ```rust
           let mut builder = ArrayData::builder(data_type.clone())
               .len(field_node.length() as usize)
               .buffers(buffers[1..2].to_vec())
               .offset(0)
               .child_data(vec![child_array.data().clone()]);
   ```


-- 
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