[C++][Parquet] Min Max stats are wrong when the value of a column are both infinity or -infinity
Open
Component: C++
Type: bug
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the bug, including details regarding any error messages, version, and platform.
When writing parquet files, if the value of a float or double column are both infinity or -infinity, the min and max stats of this column is wrong.
For example, suppose the column is float, and all values are -std::numeric_limits::infinity(), the min and max collected in TypeStatisticsImpl are [-Inf, std::numeric_limits::lowest()].
But the actual result should be [-Inf, -Inf].
### Component(s)
C++
Contributor guide
Assessment
This issue has not been assessed yet.