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