osipovartem opened a new pull request, #24975: URL: https://github.com/apache/datafusion/pull/24975
## Which issue does this PR close? - Closes #24974. ## Rationale for this change The required `cargo clippy --all-targets --all-features -- -D warnings` command fails because the PostgreSQL result formatter takes a `BigDecimal` by value but only reads it. ## What changes are included in this PR? - Accept `&BigDecimal` in `decimal_to_str`. - Borrow the parsed PostgreSQL decimal at the call site. - Add a direct formatting regression test under the `postgres` feature. ## What is the testing strategy for this PR? - `cargo test -p datafusion-sqllogictest --lib --features postgres engines::conversion` - `cargo clippy --all-targets --all-features -- -D warnings` - `cargo fmt --all -- --check` ## Are there any user-facing changes? No. The formatted PostgreSQL decimal output is unchanged. -- 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]
