tustvold commented on issue #2696: URL: https://github.com/apache/arrow-rs/issues/2696#issuecomment-1242797316
The following will work ``` vec![1, 2, 3].into_iter().collect::<Int32Array>(); vec![1, 2, 3].iter().copied().collect::<Int32Array>(); ``` I think this could be extended to support &i32, etc... by defining `From<&i32> for NativeAdapter<i32>`. Is this what you're after, or are the above solutions sufficient? -- 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]
