apache / apache/gluten

[VL] Result of cast(double/double AS DECIMAL (18,2) ) is inconsistent with vanilla spark

Open
#12,607 2 comments 0 reactions 1 assignee Claimed by @Smallfu666 View on GitHub
bug triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Backend

VL (Velox)

### Bug description

```
SELECT
CAST(c_0/c_1 AS DECIMAL (18,2)) AS rs
FROM tbl
```
c_0:double
c_1:double


vanilla | velox|
0.27 | 0.28|
1.72 | 1.73|

Result row are mismatch with Vanilla Spark.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.