[
https://issues.apache.org/jira/browse/ARROW-3904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17660928#comment-17660928
]
Rok Mihevc commented on ARROW-3904:
-----------------------------------
This issue has been migrated to [issue
#20518|https://github.com/apache/arrow/issues/20518] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [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
> Assignee: Antoine Pitrou
> 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
(v8.20.10#820010)