blaginin commented on code in PR #15567: URL: https://github.com/apache/datafusion/pull/15567#discussion_r2027650462
########## datafusion/sql/tests/sql_integration.rs: ########## @@ -3388,26 +3389,15 @@ fn ident_normalization_parser_options_ident_normalization() -> ParserOptions { } } -fn prepare_stmt_quick_test( - sql: &str, - expected_plan: &str, - expected_data_types: &str, -) -> LogicalPlan { +fn generate_prepare_stmt_and_data_types(sql: &str) -> (LogicalPlan, String) { Review Comment: to make output arguments consistent, do you think you could you return `data_types` directly and compare them via `assert_debug_snapshot`? -- 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