-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-14843 [R] Implement decimal128() (to replace decimal())
#11790
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
|
|
|
Looks good so far - out of interest, I see another ticket open for |
|
I think |
|
Do we need to change this to point to Line 83 in 8581f36
I think there might be several changes needed in |
That's fair enough!
I think so - I took a look at how I also found potential changes needed to the function Line 68 in 236362a
|
|
I scanned this for typos and anything that looked off to me and found nothing! |
|
Thanks @thisisnic and @paleolimbot for the comments. By the looks of it we have quite a few of the pieces for |
|
There's also this reference, which might need updating. arrow/r/src/array_to_vector.cpp Line 1219 in 236362a
|
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, a few comments/suggestions
…-14843_decimal128
…+ new test `class(decimal()) == class(decimal128())`
…-14843_decimal128
* removed tests that were basic (r errors due to unsupplied arguments)
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 looks good — two last comments that you can take or leave. Thank you!
…al()` is just an alias for `decimal128()`
…-14843_decimal128
|
Benchmark runs are scheduled for baseline = ee32aea and contender = 310fca9. 310fca9 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
This PR looks to swap
decimal()fordecimal128()in preparation for addingdecimal256(). At present bothdecimal()anddecimal128()work, but we might decide to deprecatedecimal()at some point in the future.