-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-14815 [R] bindings for lubridate::semester()
#12429
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
|
|
jonkeane
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.
This is looking good, thanks!
One comment (TIL about the return value of lubridate::semseter()!), and a request for some more testing on various kinds of (bad) inputs
|
Not sure if we should (and if yes, at what level) support integer / numeric arguments to |
jonkeane
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.
This is getting closer — a few small changes.
It's up to you if you want to sweep the r-based month() improvements in to this ticket or do those improvements + the changes you'll need to these tests later as a separate ticket soon after, but we should do those sooner rather than later.
jonkeane
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.
Thanks for pulling in some of the month changes, that's looking like it's headed in the right direction.
I've got a few comments + a few requests for a few more tests. Also a longer point (which you might already be totally aware of!) about how we might test bindings like this where the underlying data changes has an impact on what we need to do.
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 for what we can do before we expand month() could you resolve the conflicts and then I'll merge?
* the logic is correct, but the implementation fails
7e0a2af to
0e334d1
Compare
|
Benchmark runs are scheduled for baseline = 5680d20 and contender = 16f36a5. 16f36a5 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Once this PR is merged the following code snippet will be valid
and identical with the
lubridateresult:Created on 2022-02-15 by the reprex package (v2.0.1)