Dandandan commented on a change in pull request #1206:
URL: https://github.com/apache/arrow-datafusion/pull/1206#discussion_r739650835



##########
File path: datafusion/src/avro_to_arrow/arrow_array_reader.rs
##########
@@ -561,6 +562,7 @@ impl<'a, R: Read> AvroArrowArrayReader<'a, R> {
                         }
                     })
                     .collect();
+                let rows = rows.iter().collect::<Vec<&Vec<(String, Value)>>>();

Review comment:
       Maybe we can produce a `&Vec` above already to avoid recreating the 
`Vec`?




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


Reply via email to