You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/10/20 20:46:33 UTC

[GitHub] [arrow-rs] tustvold commented on issue #2901: API to take back ownership of an ArrayRef

tustvold commented on issue #2901:
URL: https://github.com/apache/arrow-rs/issues/2901#issuecomment-1286129751

   > Or we could maybe add a Sized constraint to the Array trait ? https://docs.rs/arrow/latest/arrow/array/trait.Array.html
   
   It is complaining that `&dyn Array` isn't Sized, not `Array`.
   
   > I think Array needs a new method for this to work
   
   I actually wrote up how to support this on https://github.com/apache/arrow-rs/issues/1981
   
   In particular https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=abb7fcf97e33ba83d44b17f6c89e8f0b
   
   I'll get this into a PR


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