Igosuki commented on a change in pull request #1206:
URL: https://github.com/apache/arrow-datafusion/pull/1206#discussion_r739784948
##########
File path: datafusion/src/avro_to_arrow/arrow_array_reader.rs
##########
@@ -112,6 +112,7 @@ impl<'a, R: Read> AvroArrowArrayReader<'a, R> {
// reached end of file
return Ok(None);
}
+ let rows = rows.iter().collect::<Vec<&Vec<(String, Value)>>>();
Review comment:
Unfortunately, in both cases we have to take ownership of the values
from the iterator first.
I couldn't find a way to do otherwise...
--
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]