erenavsarogullari opened a new pull request, #44646: URL: https://github.com/apache/spark/pull/44646
### What changes were proposed in this pull request? Currently, WindowExec Physical Operator does not have any SQLMetrics. This PR aims to add WindowExec SQLMetrics to provide following information from WindowExec usage during query execution: ``` numOfOutputRows: Number of total output rows. numOfPartitions: Number of processed input partitions. numOfWindowPartitions: Number of generated window partitions. spilledRows: Number of total spilled rows. spillSizeOnDisk: Total spilled data size on disk. ``` ### Why are the changes needed? These SQLMetrics can help Spark users for better understanding about Window functions runtime results. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? New 4 Unit Test have been added. ### Was this patch authored or co-authored using generative AI tooling? No -- 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]
