Top N Per Group with PartitionedTopKExec in Apache DataFusion
Fri 13 November 2026 | Vadim Lazuk
Vadim Lazuk "Find the top N rows within each group" is one of the most common shapes in analytics: the five best-selling products in each category, the three most recent events per device, the two highest-revenue rows per store. In SQL this is usually written with a ranking window function …