adriangb commented on code in PR #16791: URL: https://github.com/apache/datafusion/pull/16791#discussion_r2211108359
########## datafusion/datasource-parquet/src/opener.rs: ########## @@ -1095,4 +1124,167 @@ mod test { assert_eq!(num_batches, 0); assert_eq!(num_rows, 0); } + + fn get_value(metrics: &MetricsSet, metric_name: &str) -> usize { + match metrics.sum_by_name(metric_name) { + Some(v) => v.as_usize(), + _ => { + panic!( + "Expected metric not found. Looking for '{metric_name}' in\n\n{metrics:#?}" + ); + } + } + } + + #[tokio::test] + async fn test_custom_schema_adapter_no_rewriter() { Review Comment: I added a test in https://github.com/apache/datafusion/pull/16791/files#diff-eba504ed30666e1eac14df009713df33d8668156a3fac7b6b7679d9b9cddcb04 -- 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