SubhamSinghal commented on code in PR #21479:
URL: https://github.com/apache/datafusion/pull/21479#discussion_r3058532937
##########
datafusion/common/src/config.rs:
##########
@@ -1087,6 +1087,12 @@ config_namespace! {
/// past window functions, if possible
pub enable_window_limits: bool, default = true
+ /// When set to true, the optimizer will replace
+ /// Filter(rn<=K) → Window(ROW_NUMBER) → Sort patterns with a
+ /// PartitionedTopKExec that maintains per-partition heaps, avoiding
+ /// a full sort of the input.
+ pub enable_window_topn: bool, default = true
Review Comment:
done.
--
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]