git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


Krisztian Szucs created ARROW-3904:
--------------------------------------

             Summary: [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


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)