adriangb commented on code in PR #19557:
URL: https://github.com/apache/datafusion/pull/19557#discussion_r2652252211


##########
datafusion/datasource-parquet/src/opener.rs:
##########


Review Comment:
   Maybe we should be writing tests as:
   
   ```rust
   /// Test helper
   fn reverse_access_plan(plan: ParquetAccessPlan, metadata: &ParquetMetaData) 
-> RowSelection {...}
   
   /// Test code
   let plan = ParquetAccessPlan...
   let expected = RowSelection ...
   let reversed = reverse_access_plan(plan, metadata)
   assert_eq!(expected, reversed)
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to