Skip to content

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

Description

@xumanbu

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriage

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions