You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/06/07 16:39:01 UTC

[GitHub] [arrow-rs] tustvold commented on pull request #4379: Add more examples of constructing Boolean, Primitive, String, and Decimal Arrays, and From impl for i256

tustvold commented on PR #4379:
URL: https://github.com/apache/arrow-rs/pull/4379#issuecomment-1581177206

   > (BTW can't we do zero copy from Vec to Array now?)
   
   Only in the case of an array of native types, i.e. `Vec<i32>`. `Vec<Option<i32>>`, `Vec<&str>`, Vec<Option<&str>>`, etc... are not zero-copy, thats the reason to encourage the use of the constructors
   
   > Yes, please, give me an example of how to do it / what to do and I can update the docs.
   
   I can add some as a follow up, I think I need to make it easier to construct NullBuffers first :sweat_smile: 


-- 
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-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org