WangGuangxin opened a new issue, #13831: URL: https://github.com/apache/gluten/issues/13831
### Backend VL (Velox) ### Bug description Spark 4.2 supports `FILTER (WHERE ...)` on window aggregate functions (SPARK-55702). In the Velox backend, `genWindowFunctionsNode` serializes only the aggregate function and its arguments and never passes `AggregateExpression.filter` on. Velox's `WindowNode::Function` has no mask either. As a result, a window aggregate such as `COUNT(x) FILTER (WHERE p) OVER w` runs over every row of the frame, and Gluten returns wrong results without any error. ### Gluten version _No response_ ### Spark version None ### Spark configurations _No response_ ### System information _No response_ ### Relevant logs ```bash ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
