You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C++] arrow-compute-scalar-round-benchmark fails with Rounding to -5 digits is out of range for type int16 #37106
Describe the bug, including details regarding any error messages, version, and platform.
In benchmarking pipelines we see that arrow-compute-scalar-round-benchmark fails with code 6, emitting Invalid: Rounding to -5 digits is out of range for type int16 on stderr. The first commit that produces this error was 7c8f398. It seems to be strongly related :).
changed the title [-]`arrow-compute-scalar-round-benchmark` fails with `Rounding to -5 digits is out of range for type int16`[/-][+][C++] `arrow-compute-scalar-round-benchmark` fails with `Rounding to -5 digits is out of range for type int16`[/+]on Aug 10, 2023
The easiest fix I can think of is to remove the benchmark for uint8, int8, uint16 and int16 types. I think the 32 and 64 bits are good enough to represent integers since they are the most commonly used types. Does it sound good to you? @pitrou
Activity
[-]`arrow-compute-scalar-round-benchmark` fails with `Rounding to -5 digits is out of range for type int16`[/-][+][C++] `arrow-compute-scalar-round-benchmark` fails with `Rounding to -5 digits is out of range for type int16`[/+]pitrou commentedon Aug 10, 2023
@js8544 Could you perhaps take a look?
js8544 commentedon Aug 10, 2023
The easiest fix I can think of is to remove the benchmark for uint8, int8, uint16 and int16 types. I think the 32 and 64 bits are good enough to represent integers since they are the most commonly used types. Does it sound good to you? @pitrou
GH-37106: [C++] Remove overflowed integer rounding benchmarks (#37109)
apacheGH-37106: [C++] Remove overflowed integer rounding benchmarks (a…