Skip to content

Conversation

@thisisnic
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Jul 9, 2021

@thisisnic
Copy link
Member Author

This PR will need rebasing off #10686 when it's merged

@lidavidm
Copy link
Member

Sorry for the delay, I've just merged #10686

@thisisnic thisisnic changed the title ARROW-13280: [R] Bindings for log and trig functions [WIP] ARROW-13280: [R] Bindings for log and trig functions Jul 14, 2021
@thisisnic
Copy link
Member Author

Sorry for the delay, I've just merged #10686

All good, wasn't urgent! :)

Copy link
Member

@nealrichardson nealrichardson left a 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
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thisisnic thisisnic requested a review from nealrichardson July 15, 2021 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants