You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Fedor Telnov (Jira)" <ji...@apache.org> on 2023/06/21 08:18:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17735600#comment-17735600 ]
Fedor Telnov commented on AVRO-3784:
------------------------------------
Issue, that represents same feelings and request: https://issues.apache.org/jira/browse/AVRO-3331
I also added a PR - pretty simple
> [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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> 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)