Skip to content

[Discussion][C++][Statistics] Should ApproximateEquals or Equals be used to handle floating-point precision errors in arrow::ArrayStatistics? #46436

@andishgar

Description

@andishgar

This pull request includes an implementation to compare the double values of the max and min member variables of arrow::ArrayStatistics . The question, however, is whether we should use arrow::ArrayStatistics::Equal to handle floating-point precision errors or introduce a new method named arrow::ArrayStatistics::ApproximateEquals for this purpose.

Aside from that, there are several other statistical attributes with double values, although they have not yet been implemented in arrow::ArrayStatistics.

Component(s)

C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions