You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2019/02/08 04:33:00 UTC

[jira] [Updated] (ARROW-3904) [C++/Python] Validate scale and precision of decimal128 type

     [ https://issues.apache.org/jira/browse/ARROW-3904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes McKinney updated ARROW-3904:
--------------------------------
    Fix Version/s: 0.14.0

> [C++/Python] Validate scale and precision of decimal128 type
> ------------------------------------------------------------
>
>                 Key: ARROW-3904
>                 URL: https://issues.apache.org/jira/browse/ARROW-3904
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>            Reporter: Krisztian Szucs
>            Priority: Major
>             Fix For: 0.14.0
>
>
> Do We have a specification for it? 
> Currently I can create `pa.decimal128(-2147483648, 2147483647)`, which seems wrong.
> References:
> - https://docs.microsoft.com/en-us/sql/t-sql/data-types/precision-scale-and-length-transact-sql?view=sql-server-2017
> - https://docs.oracle.com/cd/B28359_01/server.111/b28318/datatype.htm#CNCPT1832



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)