Skip to content

[VL] The aggregation results mismatch between Spark3.2.2 and Gluten 1.3 #11057

@beliefer

Description

@beliefer

Backend

VL (Velox)

Bug description

There is a SQL show below.

select
  20251026 ,
  os_name ,
  count(distinct a.aid)
from
  (select ..) a
where
  a.ds = '20251026'
group by
  os_name

The subquery a have the same results between Spark3.2.2 and Gluten 1.3. But the outer query returns different results.

The output of Spark 3.2.2

20251026	1	847
20251026	2	527

The output of Spark 3.2.2 + Gluten 1.3

20251026	1	846
20251026	2	528

Gluten version

No response

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

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