Skip to content

[C++] arrow-compute-scalar-round-benchmark fails with Rounding to -5 digits is out of range for type int16 #37106

Closed

Description

@jgehrcke

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 :).

Component(s)

Archery, Benchmarking

Activity

  1. 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
  2. pitrou commented on Aug 10, 2023

    @pitrou
    Member

    @js8544 Could you perhaps take a look?

  3. js8544 commented on Aug 10, 2023

    @js8544
    Contributor

    @js8544 Could you perhaps take a look?

    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

  4. added a commit that references this issue on Aug 10, 2023
  5. added this to the 14.0.0 milestone on Aug 10, 2023
  6. added a commit that references this issue on Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions