Skip to content

[Rust] Add support for decimal data type #20775

Closed

Description

@asfimport

We should add Decimal(usize,usize) to DataType and add the corresponding array and builder classes.

 

Reporter: Andy Grove / @andygrove
Assignee: Florian Müller / @sweb

PRs and other links:

Note: This issue was originally created as ARROW-4193. Please see the migration documentation for further details.

Activity

  1. asfimport commented on Oct 28, 2020

    @asfimport
    Author

    Florian Müller / @sweb:
    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!

  2. asfimport commented on Nov 20, 2020

    @asfimport
    Author

    Jorge Leitão / @jorgecarleitao:
    Issue resolved by pull request 8640
    #8640

  3. added this to the 3.0.0 milestone on Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions