alamb commented on code in PR #10735:
URL: https://github.com/apache/datafusion/pull/10735#discussion_r1622263334


##########
datafusion/core/tests/parquet/arrow_statistics.rs:
##########
@@ -159,9 +159,9 @@ impl TestReader {
 }
 
 /// Defines a test case for statistics extraction
-struct Test {
+struct Test<'a> {
     /// The parquet file reader
-    reader: ParquetRecordBatchReaderBuilder<File>,
+    reader: &'a ParquetRecordBatchReaderBuilder<File>,

Review Comment:
   the change is to reuse the reader rather than recreating it each time



-- 
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-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to