You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Florian Müller (Jira)" <ji...@apache.org> on 2020/10/28 17:24:00 UTC
[jira] [Commented] (ARROW-4193) [Rust] Add support for decimal data
type
[ https://issues.apache.org/jira/browse/ARROW-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222299#comment-17222299 ]
Florian Müller commented on ARROW-4193:
---------------------------------------
I would like to work on this issue. However, I currently don't quite understand why decimal values are encoded as fixed size binary arrays of size 10 when reading from parquet. I am able to reconstruct the decimal value when I omit the first two bytes, but this feels very fishy to me.
Could you point me in the direction of some documentation or existing implementation as to how I can properly decode a decimal value?
Cheers!
> [Rust] Add support for decimal data type
> ----------------------------------------
>
> Key: ARROW-4193
> URL: https://issues.apache.org/jira/browse/ARROW-4193
> Project: Apache Arrow
> Issue Type: Sub-task
> Components: Rust
> Reporter: Andy Grove
> Priority: Minor
> Labels: beginner
> Fix For: 3.0.0
>
>
> We should add {{Decimal(usize,usize)}} to DataType and add the corresponding array and builder classes.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)