You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2023/06/21 10:25:00 UTC
[jira] [Resolved] (AVRO-3784) [Rust] Make Decimal more usable until its rewritten
[ https://issues.apache.org/jira/browse/AVRO-3784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Tzvetanov Grigorov resolved AVRO-3784.
---------------------------------------------
Fix Version/s: 1.12.0
1.11.2
Assignee: Martin Tzvetanov Grigorov
Resolution: Fixed
> [Rust] Make Decimal more usable until its rewritten
> ---------------------------------------------------
>
> Key: AVRO-3784
> URL: https://issues.apache.org/jira/browse/AVRO-3784
> Project: Apache Avro
> Issue Type: Improvement
> Reporter: Fedor Telnov
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0, 1.11.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I think there should be a possibility to extract bigint representation of the decimal. One could simply want to traverse its bits representation or smth like that. And that is not possible ATM.
> I think things are overly complicated currently - there is no reason to keep such a high level of an encapsulation on decimal type - anyway its API is such an unstable thing now - there were talks about a complete rewrite to something other then BigInt, and that would require API change anyway. So introducing simple Into<BigInt> would not hurt anyone, but indeed help a lot.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)