apache / apache/gluten

[CH] Fix GlutenMathExpressionsSuite

Open
#7,233 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Description

GlutenMathExpressionsSuite.scala
- "unhex": https://github.com/apache/incubator-gluten/issues/7232
- "round/bround/floor/ceil" : Incorrect evaluation: round(3.1415, 3), actual: 3.142, expected: 3.141
- "atan": Incorrect evaluation: ATAN2(0.0, -0.0), actual: 3.141592653589793, expected: 0.0
- "SPARK-37388: width_bucket": to be implemented

Contributor guide

Open the contributing guide

Research direction

Start with GlutenMathExpressionsSuite.scala and review the failing cases for unhex, round/bround/floor/ceil, atan, and SPARK-37388 width_bucket. Compare each actual result with the expected result or implementation requirement, then run the suite to confirm all listed cases pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.