alamb opened a new pull request, #6992: URL: https://github.com/apache/arrow-rs/pull/6992
# Which issue does this PR close? - Related to https://github.com/apache/datafusion/pull/14126 # Rationale for this change We need to know the min/max values for `Decimal128` and `Decimal256` in Datafusion (see https://github.com/apache/datafusion/pull/14126) Currently only the min/max values are exposed for `Decimal128` Also it turns out that the exposed values is different than what is currently used, which is confusing # What changes are included in this PR? 1. Expose min/max values for both `Decimal128` and `Decimal256` 2. Add documentation and examples 3. Rename the `pub(crate)` constants to be consistent 4. Deprecate the old (unused) `pub` constants  # Are there any user-facing changes? Yes, deprecated some constants and made others public <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!--- If there are any breaking changes to public APIs, please call them out. --> -- 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]
