Uh oh!
There was an error while loading. Please reload this page.
ARROW-14100: [C++] subtract(duration, duration) -> duration kernel - #12141
ARROW-14100: [C++] subtract(duration, duration) -> duration kernel#12141rok wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Do you mean like these?
I'd like to enable cases like subtract(duration[ms], duration[us]) -> duration[us]. I'll ping when it's done.
There was a problem hiding this comment.
Ok, this now covers cases like subtract(duration[ms], duration[us]) -> duration[us].
b6ce245 to
9526cf6Comparerok
commented
Feb 8, 2022
rok
commented
Feb 8, 2022
Sorry for the push. Had to rebase. |
pitrou
commented
Feb 9, 2022
Ha, there are conflicts again :-) |
rok
commented
Feb 9, 2022
It's the overhead price of distributed review chunks :) |
rok
commented
Feb 14, 2022
There was a problem hiding this comment.
Can you add tests for overflowing inputs?
There was a problem hiding this comment.
Added. However it seems as it duration is not treated as int64_there and overflow is not detected?
There was a problem hiding this comment.
Never mind. I was using the wrong operator.
a68f285 to
f2c4b16Compare
pitrou
left a comment
There was a problem hiding this comment.
+1, thank you. I'll just wait for the AppVeyor build to run again.
rok
commented
Feb 16, 2022
Thanks for the review @pitrou. The appveyor issue seems related to the substrait parser. Maybe a rebase will help. |
Benchmark runs are scheduled for baseline = 1b9e76c and contender = d97640c. d97640c is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
ARROW-14100