Skip to content

[VL] Aggregate window gets the wrong result in 1.2.0 #7194

@ccat3z

Description

@ccat3z

Backend

VL (Velox)

Bug description

Aggregate window gets the wrong result

-- Data
(for { x <- 1 to 4500 } yield { (x,1) }).toDF("id", "order_num")
     
-- Query
SELECT
  id,
  SUM(num) OVER(ORDER BY num DESC) AS sum
FROM test

Expect: sum: 4500

Actual: sum: 4096 ... 4500

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

No response

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