alamb opened a new pull request, #19666:
URL: https://github.com/apache/datafusion/pull/19666

   ## Which issue does this PR close?
   
   - Part of https://github.com/apache/datafusion/issues/19656
   
   
   ## Rationale for this change
   rust_decimal is a one person crate and is released somewhat infrequently
   * https://github.com/paupino/rust-decimal
   * https://crates.io/crates/rust_decimal
   
   It also uses a non trivial number of dependencies, including 
https://crates.io/crates/rkyv, some sort of zero copy deserialization framework 
that was recently subject to a RUSTSEC security advisory, see 
https://github.com/apache/datafusion/issues/19656 / 
https://github.com/apache/datafusion/pull/19657
   
   Since `rust_decimal` is only used for sqllogictests to parse the results 
from postgres, we can pretty easily remove the dependency on `rust_decimal` and 
inline the very small amount functionality we need for sqllogictests
   
   This will both decrease the build time and our dependency trail.
   
   
   ## What changes are included in this PR?
   
   Removes the `rust_decimal` dependency from DataFusion
   and inlines the smallest required subset of decimal functionality we need for
   sqllogictests (which turns out to be pretty small)
   
   ## Are these changes tested?
   
   Yes by CI
   
   ## Are there any user-facing changes?
   No, this is all internal testing infrastructure


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