apache / apache/arrow

[C++][Gandiva] Casting Float.POSITIVE_INFINITY/ Float.NEGATIVE_INFINITY/ Float.NaN to a decimal results in 0.0 instead of NULL

Open
#18,546 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.