ARROW-15659 [R] strptime should return NA (not error) with format mismatch#12402
ARROW-15659 [R] strptime should return NA (not error) with format mismatch#12402dragosmg wants to merge 13 commits intoapache:masterfrom
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.
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)