askoa commented on issue #3456: URL: https://github.com/apache/arrow-rs/issues/3456#issuecomment-1373707652
I can pick this up. I briefly looked into this. `concat_batches` uses `iter()` in multiple places in the function. It also passes the `iter()` to another function. `into_iter()` is consuming and hence cannot be used multiple times within the function. I am thinking of creating a `Vec` using the `into_iter()` as the first step in the function and then use that `Vec`'s `iter()` in the rest of the function. Let me know if you have different suggestion. -- 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]
