-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-15659 [R] strptime should return NA (not error) with format mismatch #12402
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
|
|
7a2700d to
d7fefa7
Compare
|
I think several things are needed:
|
|
@jonkeane what do you think? Is the type of the object returned by |
There are a few comments about this in the tests that reference this — I don't think it was unknown. POSIXlt is pretty unique to R (I'm sure there were other languages that have similar types), but they aren't super wide-spread, and Arrow doesn't support them directly (though you can see in the R package we make a (pseudo)-extension class for them). |
|
This needs a rebase once #12732 gets merged. |
0a1b35f to
727efbd
Compare
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.
A few questions about the tests
25863ef to
f669be7
Compare
|
Benchmark runs are scheduled for baseline = 64560af and contender = ba04e7f. ba04e7f is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
This PR aligns arrow's binding to
strptime()tobase::strptime()when the value passed to theformatargument does not match the data. Currently arrow errors, when it should returnNA.Created on 2022-02-11 by the reprex package (v2.0.1)