Skip to content

[VL] Results are mismatch with Vanilla Spark when round(avg(cast(col as double)), 4) in release-1.1 #5366

@kecookier

Description

@kecookier

Backend

VL (Velox)

Bug description

The following example can reproduce this issue.

select round(avg(cast(col as double)), 4) as topic_2 from VALUES (0.188), (0.194),  (0.194), (0.194), (0.194), (0.194), (0.194), (0.194) AS tab(col);

Gluten result: 0.1933
Vainlla Spark result: 0.1932

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

No response

Metadata

Metadata

Assignees

No one assigned

    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