apache / apache/parquet-format
BloomFilter and float point is ambiguous
- Dominant language
- Thrift
- Stars
- 2.6k
- Forks
- 508
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 4
Description
Currently, our Parquet can use BloomFilter for any physical types. However, when BloomFilter apply on float:
1. What does +0 -0 means? Are they equal?
1. Should qNaN sNaN written in BloomFilter? Are they equal?
**Reporter**: [Xuwei Fu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mwish) / @mapleFU
**Note**: *This issue was originally created as [PARQUET-2255](https://issues.apache.org/jira/browse/PARQUET-2255). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
Contributor guide
Research direction
No file, test, or entry point is named, so begin by reading the Parquet BloomFilter specification and the five-comment discussion. Define and document how +0/-0 and qNaN/sNaN are treated, including equality and BloomFilter inclusion; done means both ambiguities are resolved in the specification.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100