blaginin commented on code in PR #15255: URL: https://github.com/apache/datafusion/pull/15255#discussion_r2000967075
########## datafusion/core/tests/user_defined/user_defined_window_functions.rs: ########## @@ -57,30 +57,38 @@ const BOUNDED_WINDOW_QUERY: &str = odd_counter(val) OVER (PARTITION BY x ORDER BY y ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) \ from t ORDER BY x, y"; -/// Test to show the contents of the setup +fn fmt_batches(batches: &[RecordBatch]) -> String { + use arrow::util::pretty::pretty_format_batches; + match pretty_format_batches(batches) { + Ok(formatted) => formatted.to_string(), + Err(e) => format!("Error formatting record batches: {}", e), + } +} + Review Comment: i think this can be removed as well -- 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