You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Eduardo Ponce (Jira)" <ji...@apache.org> on 2021/09/05 04:16:00 UTC
[jira] [Commented] (ARROW-13900) [R] Implement ArithmeticOptions
[ https://issues.apache.org/jira/browse/ARROW-13900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17410097#comment-17410097 ]
Eduardo Ponce commented on ARROW-13900:
---------------------------------------
I do not think *Arithmetic Options* need to be exposed in R as they are only used to [select which variant of an arithmetic kernel is to be used w.r.t. overflow behavior of integers|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/api_scalar.cc#L336-L346]. Note that *Arithmetic Options* are not passed as a parameter to *CallFunction*, so you may think about it as a meta-option.
* *checked* variants trigger error on overflows
* non-checked variants may wrap around
[In R bindings, arithmetic functions (*checked* or not) are mapped directly|https://github.com/apache/arrow/blob/master/r/R/expression.R#L29-L43].
> [R] Implement ArithmeticOptions
> -------------------------------
>
> Key: ARROW-13900
> URL: https://issues.apache.org/jira/browse/ARROW-13900
> Project: Apache Arrow
> Issue Type: Sub-task
> Components: R
> Reporter: Nic Crane
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)