You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Dragoș Moldovan-Grünfeld (Jira)" <ji...@apache.org> on 2021/11/24 15:33:00 UTC
[jira] [Created] (ARROW-14842) [C++] Improve precision range error messages for Decimal128Type/Decimal256Type
Dragoș Moldovan-Grünfeld created ARROW-14842:
------------------------------------------------
Summary: [C++] Improve precision range error messages for Decimal128Type/Decimal256Type
Key: ARROW-14842
URL: https://issues.apache.org/jira/browse/ARROW-14842
Project: Apache Arrow
Issue Type: Improvement
Components: C, R
Reporter: Dragoș Moldovan-Grünfeld
The error message surfaces in R like so:
{code:r}
decimal(0, 2)
Error: Invalid: Decimal precision out of range: 0
{code}
and
{code:r}
decimal(100, 2)
Error: Invalid: Decimal precision out of range: 100
{code}
This isn't very informative as it doesn't specify what the range should be (1 to 38 for Decimal128Type, for example).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)