-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-13280: [R] Bindings for log and trig functions #10689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This PR will need rebasing off #10686 when it's merged |
|
Sorry for the delay, I've just merged #10686 |
All good, wasn't urgent! :) |
504f3a7 to
fdd7d91
Compare
nealrichardson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one request.
r/R/expression.R
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that these exist, we should define the Math group generic for Arrow objects, like we have for Ops. I made https://issues.apache.org/jira/browse/ARROW-13337 for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, in R, log is not unary:
log <- function (x, base = exp(1))
So we should handle that correctly. If arrow doesn't support general log_baseN, (1) make sure there's a JIRA for that, and (2) map the cases that do exist (e, 10, 2, etc.) and for now error "not supported" for any other value of base.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done and opened https://issues.apache.org/jira/browse/ARROW-13345
09ac274 to
82eed16
Compare
No description provided.