From 473902a63ed6a8bac85a2f598b360de739f3bfe4 Mon Sep 17 00:00:00 2001 From: aditi-pandit Date: Wed, 20 Nov 2024 09:54:09 -0800 Subject: [PATCH] fix: Fix TopNRowNumber documentation about spilling (#11569) Summary: Pull Request resolved: https://github.com/facebookincubator/velox/pull/11569 Reviewed By: xiaoxmeng Differential Revision: D66239359 Pulled By: Yuhta fbshipit-source-id: 84084f834031866e3b497bc8ba6d8d84bab3d288 --- velox/docs/develop/operators.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/velox/docs/develop/operators.rst b/velox/docs/develop/operators.rst index b7cac0c915e2..b8bbf02fa3e1 100644 --- a/velox/docs/develop/operators.rst +++ b/velox/docs/develop/operators.rst @@ -950,7 +950,7 @@ assigns row numbers within each partition starting from 1. This operator accumulates state: a hash table mapping partition keys to a list of top 'limit' rows within that partition. Returning the row numbers as -a column in the output is optional. This operator doesn't support spilling yet. +a column in the output is optional. This operator supports spilling as well. This operator is logically equivalent to a WindowNode followed by FilterNode(row_number <= limit), but it uses less memory and CPU.