You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Dragoș Moldovan-Grünfeld (Jira)" <ji...@apache.org> on 2021/11/22 13:48:00 UTC
[jira] [Commented] (ARROW-13886) [R] Expand documentation for decimal()
[ https://issues.apache.org/jira/browse/ARROW-13886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17447412#comment-17447412 ]
Dragoș Moldovan-Grünfeld commented on ARROW-13886:
--------------------------------------------------
We implement the R {{decimal()}} as a binding to {{{}Decimal128Type{}}}. This means that the maximum precision it can deal with is 38 significant digits. I think we should implement a check on precision <= 38 and offer an informative message.
> [R] Expand documentation for decimal()
> --------------------------------------
>
> Key: ARROW-13886
> URL: https://issues.apache.org/jira/browse/ARROW-13886
> Project: Apache Arrow
> Issue Type: Improvement
> Components: R
> Reporter: Nicola Crane
> Assignee: Dragoș Moldovan-Grünfeld
> Priority: Minor
> Labels: good-first-issue
>
> Two main things we could update here:
> # The general description of what the decimal type is and is for and/or a link to the C++ docs - in the details section, add some explanation of what an Arrow {{decimal()}} type is and why it is automatically mapped to an R {{double}} type
> # Documentation of the params precision and scale. We could add a bit more information to explain what that actually means to the user, as it's not immediately obvious.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)