zml1206 commented on PR #57815: URL: https://github.com/apache/spark/pull/57815#issuecomment-5235046102
DuckDB support DISTINCT window aggregates, while Spark previously rejected such queries. This proposal supports DISTINCT aggregate windows with an UNBOUNDED PRECEDING lower bound. It uses in-memory hash-based deduplication and falls back to external sorting when the configured threshold is reached or memory allocation fails, reducing the risk of OOM for large partitions. If you have time, I would appreciate a review of the overall design and implementation, thanks @cloud-fan -- 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]
