[C++][Gandiva] Casting Float.POSITIVE_INFINITY/ Float.NEGATIVE_INFINITY/ Float.NaN to a decimal results in 0.0 instead of NULL
Open
Component: Gandiva
Type: bug
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
**Reporter**: [Kambham Vivek Shankar](https://issues.apache.org/jira/browse/ARROW-11867)
**Assignee**: [Quang Hoang](https://issues.apache.org/jira/browse/ARROW-11867) / @quanghgx
**Note**: *This issue was originally created as [ARROW-11867](https://issues.apache.org/jira/browse/ARROW-11867). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*
Contributor guide
Research direction
Begin by locating the C++ Gandiva path that casts floating-point values to decimals; the issue names no file or test. Done means Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, and Float.NaN cast to decimal produce NULL rather than 0.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100