Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jan 7, 2026

Which issue does this PR close?

Rationale for this change

Let's resolve the audit workflow on branch-52 by removing our dependency on the rust_decimal library, per @xudong963 's request here #19666 (review)

What changes are included in this PR?

Are these changes tested?

By CI

Are there any user-facing changes?

No, this is an internal dev tool change

…001` (apache#19666)

- Part of apache#19656

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
apache#19656 /
apache#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.

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)

Yes by CI

No, this is all internal testing infrastructure
@github-actions github-actions bot added development-process Related to development process of DataFusion sqllogictest SQL Logic Tests (.slt) labels Jan 7, 2026
@alamb alamb marked this pull request as ready for review January 7, 2026 19:26
Copy link
Member

@xudong963 xudong963 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! @alamb

@xudong963 xudong963 merged commit 04e6cee into apache:branch-52 Jan 8, 2026
31 checks passed
@alamb alamb deleted the alamb/backport_rust_decimal branch January 8, 2026 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants